diff options
Diffstat (limited to 'sercp.c')
-rw-r--r-- | sercp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -707,7 +707,7 @@ int OpenUart() { } cfmakeraw(&newtio); cfsetspeed(&newtio, baud_rate); -#ifdef __APPLE__ +#if defined __APPLE__ || defined BSD newtio.c_cflag = CS8 | CLOCAL | CREAD | CCTS_OFLOW | CRTS_IFLOW; // CSTOPB - two stop bits NOT #else newtio.c_cflag = CS8 | CLOCAL | CREAD | CRTSCTS; // CSTOPB - two stop bits NOT |