diff --git a/src/drivers/distance_sensor/lightware_grf_serial/lightware_grf_serial.cpp b/src/drivers/distance_sensor/lightware_grf_serial/lightware_grf_serial.cpp index 403c61f562..82cabca08c 100755 --- a/src/drivers/distance_sensor/lightware_grf_serial/lightware_grf_serial.cpp +++ b/src/drivers/distance_sensor/lightware_grf_serial/lightware_grf_serial.cpp @@ -256,8 +256,8 @@ void GRFLaserSerial::Run() /* clear ONLCR flag (which appends a CR for every LF) */ uart_config.c_oflag &= ~ONLCR; - /* no parity, one stop bit */ - uart_config.c_cflag &= ~(CSTOPB | PARENB); + /* no parity, one stop bit, no hardware flow control */ + uart_config.c_cflag &= ~(CSTOPB | PARENB | CRTSCTS); unsigned speed = B115200; diff --git a/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp b/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp index e15c43a44e..561d2bc555 100755 --- a/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp +++ b/src/drivers/distance_sensor/lightware_sf45_serial/lightware_sf45_serial.cpp @@ -253,7 +253,7 @@ void SF45LaserSerial::Run() uart_config.c_oflag &= ~ONLCR; /* no parity, one stop bit */ - uart_config.c_cflag &= ~(CSTOPB | PARENB); + uart_config.c_cflag &= ~(CSTOPB | PARENB | CRTSCTS); unsigned speed = B921600;