|
@@ -76,7 +76,6 @@ int serialOpen(const char *port, unsigned int baud) {
|
76
|
76
|
}
|
77
|
77
|
|
78
|
78
|
// Input Modes
|
79
|
|
- options.c_iflag |= IGNCR; // Ignore CR
|
80
|
79
|
#ifdef XONXOFF
|
81
|
80
|
options.c_iflag |= IXON; // XON-XOFF Flow Control
|
82
|
81
|
#endif
|
|
@@ -89,9 +88,6 @@ int serialOpen(const char *port, unsigned int baud) {
|
89
|
88
|
options.c_cflag |= CREAD; // Enable Receiver
|
90
|
89
|
options.c_cflag |= CLOCAL; // Ignore modem status lines
|
91
|
90
|
|
92
|
|
- // Local Modes
|
93
|
|
- options.c_lflag |= IEXTEN; // Extended input character processing
|
94
|
|
-
|
95
|
91
|
// Special characters
|
96
|
92
|
options.c_cc[VMIN] = 0; // Always return...
|
97
|
93
|
options.c_cc[VTIME] = 0; // ..immediately from read()
|