summaryrefslogtreecommitdiff
path: root/src/class/cdc/cdc_rndis_host.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2019-03-27 17:48:42 +0700
committerhathach <[email protected]>2019-03-27 17:48:42 +0700
commitda452d4ba6127b2b3b83832ba142bece911e2490 (patch)
tree24867b63622d6d72e65ab522987403bf2ded299f /src/class/cdc/cdc_rndis_host.h
parent3dfb251c1e2c7d1b6f91cf4bb2f3010e333592b3 (diff)
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
Diffstat (limited to 'src/class/cdc/cdc_rndis_host.h')
-rw-r--r--src/class/cdc/cdc_rndis_host.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/class/cdc/cdc_rndis_host.h b/src/class/cdc/cdc_rndis_host.h
index 377ae64ba..24becee07 100644
--- a/src/class/cdc/cdc_rndis_host.h
+++ b/src/class/cdc/cdc_rndis_host.h
@@ -40,10 +40,8 @@
#endif
//--------------------------------------------------------------------+
-// RNDIS-CDC Driver API
+// INTERNAL RNDIS-CDC Driver API
//--------------------------------------------------------------------+
-#ifdef _TINY_USB_SOURCE_FILE_
-
typedef struct {
OSAL_SEM_DEF(semaphore_notification);
osal_semaphore_handle_t sem_notification_hdl; // used to wait on notification pipe
@@ -56,8 +54,6 @@ tusb_error_t rndish_open_subtask(uint8_t dev_addr, cdch_data_t *p_cdc);
void rndish_xfer_isr(cdch_data_t *p_cdc, pipe_handle_t pipe_hdl, xfer_result_t event, uint32_t xferred_bytes);
void rndish_close(uint8_t dev_addr);
-#endif
-
#ifdef __cplusplus
}
#endif