diff --git a/platform/posix/stm32.cpp b/platform/posix/stm32.cpp index 234688a..437c3de 100644 --- a/platform/posix/stm32.cpp +++ b/platform/posix/stm32.cpp @@ -206,8 +206,6 @@ bool STM32::open() { return false; } - cfsetspeed(&tty, B500000); // Set speed to 500kbaud - tty.c_cflag |= (CLOCAL | CREAD); // Ignore modem controls tty.c_cflag &= ~CSIZE; tty.c_cflag |= CS8; // 8-bit characters