summaryrefslogtreecommitdiff
path: root/src/osal
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-11-23 15:17:43 +0700
committerhathach <[email protected]>2018-11-23 15:17:43 +0700
commita619ff88a36e4b841cb5901135b1811b06c3c843 (patch)
tree9212c44046d8d37a86d000d9f1f5c8bc3f54d3f6 /src/osal
parentcb8782e5f28b4897e73520c91296d1ac7d71da81 (diff)
rename xfer complete enum
Diffstat (limited to 'src/osal')
-rw-r--r--src/osal/osal_none.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/osal/osal_none.h b/src/osal/osal_none.h
index 46930aeda..b21c3332a 100644
--- a/src/osal/osal_none.h
+++ b/src/osal/osal_none.h
@@ -156,10 +156,12 @@ static inline void osal_queue_reset(osal_queue_t const queue_hdl)
static inline bool osal_queue_receive(osal_queue_t const queue_hdl, void* data)
{
// osal none return immediately without blocking
+ // extern void tusb_hal_int_disable(uint8_t rhport);
+ // extern void tusb_hal_int_enable(uint8_t rhport);
- // tusb_hal_int_disable_all();
+// tusb_hal_int_disable(0);
bool rc = tu_fifo_read(queue_hdl, data);
- // tusb_hal_int_enable_all();
+// tusb_hal_int_enable(0);
return rc;
}