From 3ed08b68d4d4bd51d85334aa1a21690737b95cfe Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 30 Jun 2016 21:11:19 -0400 Subject: Start work to support client code on Mac OS X. Includes preliminary support for the magic Mac-specific ioctl() to see line speed, but has not yet been tested, that's waiting for some supporting tweaks to the RPC code from Paul. Includes some general cleanup which isn't really specific to Mac OS X per se but which needed doing and which simplifies adding the Mac code. --- slip_internal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'slip_internal.h') 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 /* 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 -- cgit v1.2.3