Skip to content

Commit

Permalink
enabling raw output
Browse files Browse the repository at this point in the history
  • Loading branch information
agwn committed Aug 15, 2013
1 parent a64163e commit c34b211
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.c
Expand Up @@ -65,6 +65,7 @@ serial_open(
struct termios attr; struct termios attr;
tcgetattr(fd, &attr); tcgetattr(fd, &attr);
attr.c_cflag |= CLOCAL | CREAD; attr.c_cflag |= CLOCAL | CREAD;
attr.c_oflag &= ~OPOST;
tcsetattr(fd, TCSANOW, &attr); tcsetattr(fd, TCSANOW, &attr);


return fd; return fd;
Expand Down

0 comments on commit c34b211

Please sign in to comment.