add tuh_cdc_tx_complete_cb() callback

This commit is contained in:
hathach
2022-12-21 13:05:45 +07:00
parent 84a483f5ea
commit cd9008e5a9
3 changed files with 14 additions and 13 deletions

View File

@@ -154,6 +154,9 @@ TU_ATTR_WEAK extern void tuh_cdc_umount_cb(uint8_t idx);
// Invoked when received new data
TU_ATTR_WEAK extern void tuh_cdc_rx_cb(uint8_t idx);
// Invoked when a TX is complete and therefore space becomes available in TX buffer
TU_ATTR_WEAK extern void tuh_cdc_tx_complete_cb(uint8_t idx);
//--------------------------------------------------------------------+
// CDC APPLICATION CALLBACKS
//--------------------------------------------------------------------+