summaryrefslogtreecommitdiff
path: root/src/class
diff options
context:
space:
mode:
authorMengsk <[email protected]>2021-06-24 11:35:05 +0200
committerMengsk <[email protected]>2021-06-24 12:58:18 +0200
commitb9e9773d04419032d9e8eb8ca568390f74382690 (patch)
tree7f109c7e343e0959dea5f331f0a6e615f91e2814 /src/class
parent9d6fd78b632db5b40e84e4c019f00286aae5d1ad (diff)
fix warning
Diffstat (limited to 'src/class')
-rw-r--r--src/class/cdc/cdc_device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index 94678a660..f8a2216c1 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -248,13 +248,13 @@ static inline bool tud_cdc_write_clear(void)
}
// Get the Receive FIFO
-static inline tu_fifo_t* tud_cdc_get_rx_ff (uint8_t itf)
+static inline tu_fifo_t* tud_cdc_get_rx_ff (void)
{
return tud_cdc_n_get_rx_ff(0);
}
// Get the transmit FIFO
-static inline tu_fifo_t* tud_cdc_get_tx_ff (uint8_t itf)
+static inline tu_fifo_t* tud_cdc_get_tx_ff (void)
{
return tud_cdc_n_get_tx_ff(0);
}