aboutsummaryrefslogtreecommitdiff
path: root/rpc_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc_serial.c')
-rw-r--r--rpc_serial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc_serial.c b/rpc_serial.c
index 5dc659e..728bbd8 100644
--- a/rpc_serial.c
+++ b/rpc_serial.c
@@ -89,8 +89,8 @@ hal_error_t hal_serial_init(const char * const device, const uint32_t speed)
return HAL_ERROR_RPC_TRANSPORT;
}
- cfsetospeed (&tty, speed);
- cfsetispeed (&tty, speed);
+ cfsetospeed (&tty, termios_speed);
+ cfsetispeed (&tty, termios_speed);
#endif