summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_host.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-12-21 13:05:45 +0700
committerhathach <[email protected]>2022-12-21 13:05:45 +0700
commitcd9008e5a9c8da81d9736f7e0bf72c5ba409a7f1 (patch)
tree904819bb29ee6a97aea792614db6e6e190c78c88 /src/class/cdc/cdc_host.h
parent84a483f5ea7446a5cc1a9fe957379dd1f0a6fd4c (diff)
add tuh_cdc_tx_complete_cb() callback
Diffstat (limited to 'src/class/cdc/cdc_host.h')
-rw-r--r--src/class/cdc/cdc_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/class/cdc/cdc_host.h b/src/class/cdc/cdc_host.h
index dd8ae80ce..476431cc5 100644
--- a/src/class/cdc/cdc_host.h
+++ b/src/class/cdc/cdc_host.h
@@ -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
//--------------------------------------------------------------------+