summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorReinhard Panhuber <[email protected]>2021-01-04 17:15:42 +0100
committerReinhard Panhuber <[email protected]>2021-01-04 17:15:42 +0100
commitf2b4567a2b16c9e8f1af8278a9db8675d58947e2 (patch)
treede048e2dbbb19cf2eddb1494291451d78f13d868 /src
parent2fa500af1822e4d2d882b7b5455cfd0860aa42a5 (diff)
Correct function declaration
Diffstat (limited to 'src')
-rw-r--r--src/portable/st/synopsys/dcd_synopsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/st/synopsys/dcd_synopsys.c b/src/portable/st/synopsys/dcd_synopsys.c
index 7250cf188..32be1f2df 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)