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