From f2b4567a2b16c9e8f1af8278a9db8675d58947e2 Mon Sep 17 00:00:00 2001 From: Reinhard Panhuber Date: Mon, 4 Jan 2021 17:15:42 +0100 Subject: [PATCH] Correct function declaration --- src/portable/st/synopsys/dcd_synopsys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c index 7250cf18..32be1f2d 100644 --- a/src/portable/st/synopsys/dcd_synopsys.c +++ b/src/portable/st/synopsys/dcd_synopsys.c @@ -158,7 +158,7 @@ static inline uint16_t calc_rx_ff_size(uint16_t ep_size) return 15 + 2*ep_size + 2*EP_MAX; } -static inline void update_grxfsiz() +static inline void update_grxfsiz(void) { // If an OUT EP was closed update (reduce) the RX FIFO size if RX FIFO is empty - since this function handle_rxflvl_ints() gets looped from dcd_int_handler() until RX FIFO is empty it is guaranteed to be entered if (_rx_ep_closed)