Skip to content
Browse files

enabling raw output

  • Loading branch information...
1 parent a64163e commit c34b21196bab59723673182e26af4485ca9545d8 @agwn agwn committed Aug 15, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 util.c
View
1 util.c
@@ -65,6 +65,7 @@ serial_open(
struct termios attr;
tcgetattr(fd, &attr);
attr.c_cflag |= CLOCAL | CREAD;
+ attr.c_oflag &= ~OPOST;
tcsetattr(fd, TCSANOW, &attr);
return fd;

0 comments on commit c34b211

Please sign in to comment.
Something went wrong with that request. Please try again.