this change make life better

This commit is contained in:
phyto 2019-05-14 15:43:44 +02:00
父節點 33c96b1a63
當前提交 565c70b54f
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -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 ");