From 2f0fcf80e0b2d49116a019c02da5bc63dadc763b Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 20 Mar 2018 18:33:06 +0700 Subject: nrf52 cdc example work on nrf52840pdk - add tud_cdc_flush(), auto flush with sof is enabled by default. - --- tinyusb/tusb_dcd.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tinyusb/tusb_dcd.h') diff --git a/tinyusb/tusb_dcd.h b/tinyusb/tusb_dcd.h index 635522b95..5f79693ca 100644 --- a/tinyusb/tusb_dcd.h +++ b/tinyusb/tusb_dcd.h @@ -87,13 +87,11 @@ void tusb_dcd_control_stall (uint8_t port); bool tusb_dcd_edpt_open (uint8_t port, tusb_descriptor_endpoint_t const * p_endpoint_desc); bool tusb_dcd_edpt_xfer (uint8_t port, uint8_t edpt_addr, uint8_t * buffer, uint16_t total_bytes, bool int_on_complete); bool tusb_dcd_edpt_queue_xfer (uint8_t port, uint8_t edpt_addr, uint8_t * buffer, uint16_t total_bytes); // only queue, not transferring yet +bool tusb_dcd_edpt_busy (uint8_t port, uint8_t edpt_addr); void tusb_dcd_edpt_stall (uint8_t port, uint8_t edpt_addr); void tusb_dcd_edpt_clear_stall (uint8_t port, uint8_t edpt_addr); -// TODO may remove -bool tusb_dcd_edpt_busy (uint8_t port, uint8_t edpt_addr); - #ifdef __cplusplus } #endif -- cgit v1.3.1