diff options
| author | hathach <[email protected]> | 2018-03-13 16:30:53 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-13 16:30:53 +0700 |
| commit | ffca1f5e64b2206c2f006a7912c27ae3ee0f9d26 (patch) | |
| tree | 67dcd91b51ca7995a32745fee3bb5ce50f3de940 /tinyusb/osal | |
| parent | 2435abb0a8496361fb08cdaa4234e9d205add186 (diff) | |
working on nrf52
Diffstat (limited to 'tinyusb/osal')
| -rw-r--r-- | tinyusb/osal/osal_none.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index 229c51b99..f640c470a 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -204,11 +204,11 @@ static inline void osal_queue_flush(osal_queue_t const queue_hdl) else\
return TUSB_ERROR_OSAL_WAITING;\
} else{\
- /*TODO mutex lock tusb_hal_init_disable */\
+ /*TODO mutex lock tusb_hal_int_disable */\
memcpy(p_data, queue_hdl->buffer + (queue_hdl->rd_idx * queue_hdl->item_size), queue_hdl->item_size);\
queue_hdl->rd_idx = (queue_hdl->rd_idx + 1) % queue_hdl->depth;\
queue_hdl->count--;\
- /*TODO mutex unlock tusb_hal_init_enable */\
+ /*TODO mutex unlock tusb_hal_int_enable */\
*(p_error) = TUSB_ERROR_NONE;\
}\
}while(0)
@@ -258,7 +258,7 @@ static inline void osal_semaphore_reset(osal_semaphore_t sem_hdl) else\
return TUSB_ERROR_OSAL_WAITING;\
} else{\
- if (sem_hdl->count) sem_hdl->count--; /*TODO mutex tusb_hal_init_disable consideration*/\
+ if (sem_hdl->count) sem_hdl->count--; /*TODO mutex tusb_hal_int_disable consideration*/\
*(p_error) = TUSB_ERROR_NONE;\
}\
}while(0)
|
