diff --git a/sapi/include/rsi_hal.h b/sapi/include/rsi_hal.h index 0c3f4594..ddd77cf3 100644 --- a/sapi/include/rsi_hal.h +++ b/sapi/include/rsi_hal.h @@ -136,7 +136,7 @@ uint32_t GetTickCount(void); void rsi_interrupt_handler(void); void ABRD(void); -short int rsi_uart_iface_int(); +short int rsi_uart_iface_int(void); void Error_Handler(void); diff --git a/sapi/include/rsi_uart.h b/sapi/include/rsi_uart.h index af53aa49..2b13b836 100644 --- a/sapi/include/rsi_uart.h +++ b/sapi/include/rsi_uart.h @@ -153,7 +153,7 @@ extern void rsi_enter_critical_sec(void); extern void rsi_exit_critical_sec(void); extern void rsi_platform_based_init(void); extern int32_t rsi_uart_deinit(void); -extern short int rsi_uart_iface_int(); +extern short int rsi_uart_iface_int(void); extern void uart_init(void); #endif