this change make life better
This commit is contained in:
parent
33c96b1a63
commit
565c70b54f
@ -62,7 +62,7 @@ fprintf(stderr, ">>> %s ( %s %d )\n", __func__, port, baudrate);
|
||||
// shall not cause the terminal device to become the controlling terminal
|
||||
// for the process.
|
||||
|
||||
uart0 = open(port, O_RDONLY | O_NOCTTY);
|
||||
uart0 = open(port, O_RDWR | O_NOCTTY);
|
||||
if (uart0 < 0)
|
||||
{
|
||||
perror("unable to open uart ");
|
||||
|
Loading…
Reference in New Issue
Block a user