cleanup, remove the use of _TINY_USB_SOURCE_FILE_

This commit is contained in:
hathach
2019-03-27 17:48:42 +07:00
parent 3dfb251c1e
commit da452d4ba6
27 changed files with 15 additions and 90 deletions

View File

@@ -109,17 +109,13 @@ void tuh_cdc_xfer_isr(uint8_t dev_addr, xfer_result_t event, cdc_pipeid_t pipe_i
/// @}
//--------------------------------------------------------------------+
// USBH-CLASS API
// Internal Class Driver API
//--------------------------------------------------------------------+
#ifdef _TINY_USB_SOURCE_FILE_
void cdch_init(void);
bool cdch_open(uint8_t rhport, uint8_t dev_addr, tusb_desc_interface_t const *itf_desc, uint16_t *p_length);
void cdch_isr(uint8_t dev_addr, uint8_t ep_addr, xfer_result_t event, uint32_t xferred_bytes);
void cdch_close(uint8_t dev_addr);
#endif
#ifdef __cplusplus
}
#endif