Skip to content

Commit

Permalink
Fix serial parameter setting
Browse files Browse the repository at this point in the history
  • Loading branch information
yunkya2 committed Aug 22, 2023
1 parent 8f66414 commit 1e8266f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions driver/serremote.c
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,9 @@ void interrupt(void)
baudstr = "38400";
}

// stop 1 / nonparity / 8bit / nonxoff
_iocs_set232c(0x4c00 | bdset);

if (resmode != 0) { // サーバが応答するか確認する
struct cmd_check cmd;
cmd.command = req->command;
Expand All @@ -395,9 +398,6 @@ void interrupt(void)
extern char _end;
req->attr = 1; /* Number of units */
req->addr = &_end;

// stop 1 / nonparity / 8bit / nonxoff
_iocs_set232c(0x4c00 | bdset);
break;
}

Expand Down

0 comments on commit 1e8266f

Please # to comment.