summaryrefslogtreecommitdiff
path: root/tinyusb/class/cdc/cdc_device.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-11 15:20:27 +0700
committerhathach <[email protected]>2018-03-11 15:20:27 +0700
commitcfdc7999f661ecc5d978073f2808d4319ee44426 (patch)
tree495fdb52ed753960ac76b18a4426d9cf2c9e594a /tinyusb/class/cdc/cdc_device.h
parentfd250b92cb62780dee5d99b49bbcbc05080b6987 (diff)
refactor dcd API, drop edpt_hdl_t in favor of endpoint address for easy port
Diffstat (limited to 'tinyusb/class/cdc/cdc_device.h')
-rw-r--r--tinyusb/class/cdc/cdc_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/class/cdc/cdc_device.h b/tinyusb/class/cdc/cdc_device.h
index aaf7920a2..db1ef04bb 100644
--- a/tinyusb/class/cdc/cdc_device.h
+++ b/tinyusb/class/cdc/cdc_device.h
@@ -79,7 +79,7 @@ void tud_cdc_rx_cb(uint8_t port);
void cdcd_init(void);
tusb_error_t cdcd_open(uint8_t port, tusb_descriptor_interface_t const * p_interface_desc, uint16_t *p_length);
tusb_error_t cdcd_control_request_subtask(uint8_t port, tusb_control_request_t const * p_request);
-tusb_error_t cdcd_xfer_cb(edpt_hdl_t edpt_hdl, tusb_event_t event, uint32_t xferred_bytes);
+tusb_error_t cdcd_xfer_cb(uint8_t port, uint8_t edpt_addr, tusb_event_t event, uint32_t xferred_bytes);
void cdcd_close(uint8_t port);
void cdcd_sof(uint8_t port);