summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMasterPhi <[email protected]>2021-07-17 20:41:19 +0200
committerMasterPhi <[email protected]>2021-07-17 20:44:44 +0200
commitf52e1889c7f4bca23311a97b5869eab70c766094 (patch)
treecc719d8af81c94cfffc477f23e6b3b5977ae0980 /src
parentbae0d3b7bbe5145017ebd08f777fe0b8063f44b7 (diff)
Fix merge error.
Diffstat (limited to 'src')
-rw-r--r--src/class/cdc/cdc_device.c14
-rw-r--r--src/class/cdc/cdc_device.h18
2 files changed, 0 insertions, 32 deletions
diff --git a/src/class/cdc/cdc_device.c b/src/class/cdc/cdc_device.c
index 68080c61d..e622bd616 100644
--- a/src/class/cdc/cdc_device.c
+++ b/src/class/cdc/cdc_device.c
@@ -481,18 +481,4 @@ bool cdcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_
return true;
}
-// Get the Receive FIFO (for DMA transfer)
-tu_fifo_t* tud_cdc_n_get_rx_ff (uint8_t itf)
-{
- TU_ASSERT(itf < CFG_TUD_CDC);
- return &_cdcd_itf[itf].rx_ff;
-}
-
-// Get the transmit FIFO (for DMA transfer)
-tu_fifo_t* tud_cdc_n_get_tx_ff (uint8_t itf)
-{
- TU_ASSERT(itf < CFG_TUD_CDC);
- return &_cdcd_itf[itf].tx_ff;
-}
-
#endif
diff --git a/src/class/cdc/cdc_device.h b/src/class/cdc/cdc_device.h
index f8a2216c1..7ff757add 100644
--- a/src/class/cdc/cdc_device.h
+++ b/src/class/cdc/cdc_device.h
@@ -104,12 +104,6 @@ uint32_t tud_cdc_n_write_available (uint8_t itf);
// Clear the transmit FIFO
bool tud_cdc_n_write_clear (uint8_t itf);
-// Get the Receive FIFO (for DMA transfer)
-tu_fifo_t* tud_cdc_n_get_rx_ff (uint8_t itf);
-
-// Get the transmit FIFO (for DMA transfer)
-tu_fifo_t* tud_cdc_n_get_tx_ff (uint8_t itf);
-
//--------------------------------------------------------------------+
// Application API (Single Port)
//--------------------------------------------------------------------+
@@ -247,18 +241,6 @@ static inline bool tud_cdc_write_clear(void)
return tud_cdc_n_write_clear(0);
}
-// Get the Receive FIFO
-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 (void)
-{
- return tud_cdc_n_get_tx_ff(0);
-}
-
/** @} */
/** @} */