Commit e4139b67019d5bfdb7c4ca3d3ad9696c602c60c1
1 parent
e62e2d78
implementing the RTU
Showing
2 changed files
with
2 additions
and
2 deletions
src/modbusrtu.cpp
| ... | ... | @@ -49,7 +49,7 @@ bool ModbusRtu::Connect() |
| 49 | 49 | l_tty.c_cflag |= CREAD | CLOCAL; // Turn on READ & ignore ctrl lines (CLOCAL = 1) |
| 50 | 50 | |
| 51 | 51 | /* local modes */ |
| 52 | - l_tty.c_lflag &= ~ICANON; // ..... Yes.. | |
| 52 | + l_tty.c_lflag &= ~ICANON; // Something, something CANONICAL.. Something, something Dark Side.... | |
| 53 | 53 | l_tty.c_lflag &= ~ECHO; // Disable echo |
| 54 | 54 | l_tty.c_lflag &= ~ECHOE; // Disable Erasure |
| 55 | 55 | l_tty.c_lflag &= ~ECHONL; // Diasble new-line echo | ... | ... |
src/modbusrtu.h