diff options
Diffstat (limited to 'slip_internal.h')
-rw-r--r-- | slip_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/slip_internal.h b/slip_internal.h index e3b7af0..4c36c31 100644 --- a/slip_internal.h +++ b/slip_internal.h @@ -50,8 +50,7 @@ extern hal_error_t hal_serial_send_char(const uint8_t c); extern hal_error_t hal_serial_recv_char(uint8_t * const c); #ifndef STM32F4XX -#include <termios.h> /* speed_t */ -extern hal_error_t hal_serial_init(const char * const device, const speed_t speed); +extern hal_error_t hal_serial_init(const char * const device, const uint32_t speed); extern hal_error_t hal_serial_close(void); extern int hal_serial_get_fd(void); #endif |