diff options
| author | hathach <[email protected]> | 2018-11-23 15:28:32 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-23 15:28:32 +0700 |
| commit | a1c596490aa40863cd5f1e36a821157ffeab2af6 (patch) | |
| tree | c8246e10d303414f222a5ba15480c04010240c8e /src/osal | |
| parent | 2edfd5b555388d10a9013eb598c9a73a4ee1afa9 (diff) | |
| parent | 394a22ecf7760cce630a8186260f1c79901af934 (diff) | |
Merge pull request #13 from hathach/devlocal
add unplugged event for nrf5x
Diffstat (limited to 'src/osal')
| -rw-r--r-- | src/osal/osal_none.h | 6 |
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;
}
|
