diff options
Diffstat (limited to 'src/tusb_hal.h')
| -rw-r--r-- | src/tusb_hal.h | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/src/tusb_hal.h b/src/tusb_hal.h index 301e8c2f2..e02ff480d 100644 --- a/src/tusb_hal.h +++ b/src/tusb_hal.h @@ -53,40 +53,9 @@ extern "C" { //--------------------------------------------------------------------+
// Only required to implement if using No RTOS (osal_none)
+// TODO could be remove
uint32_t tusb_hal_millis(void);
-// TODO remove
-extern void dcd_int_enable (uint8_t rhport);
-extern void dcd_int_disable(uint8_t rhport);
-
-// Enable all ports' interrupt
-// TODO remove
-static inline void tusb_hal_int_enable_all(void)
-{
-#ifdef CFG_TUSB_RHPORT0_MODE
- dcd_int_enable(0);
-#endif
-
-#ifdef CFG_TUSB_RHPORT0_MODE
- dcd_int_enable(1);
-#endif
-}
-
-// Disable all ports' interrupt
-// TODO remove
-static inline void tusb_hal_int_disable_all(void)
-{
-#ifdef CFG_TUSB_RHPORT0_MODE
- dcd_int_disable(0);
-#endif
-
-#ifdef CFG_TUSB_RHPORT0_MODE
- dcd_int_disable(1);
-#endif
-}
-
-
-
#ifdef __cplusplus
}
#endif
|
