diff options
| author | hathach <[email protected]> | 2018-03-02 15:28:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-02 15:28:40 +0700 |
| commit | dc12e55c568a182ac95e4e7594e0059c1b8f7f4b (patch) | |
| tree | 5f4dc1d459c081ae6bf62ea781834d86f1f9d042 /tinyusb/osal | |
| parent | b6e337bc12c041969687ee8c13dbe5045c4096f8 (diff) | |
rename hal_interrupt_* to hal_usb_int_*
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 378a3a6f6..47f591675 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -191,11 +191,11 @@ static inline void osal_queue_flush(osal_queue_t const queue_hdl) else\
return TUSB_ERROR_OSAL_WAITING;\
} else{\
- /*TODO mutex lock hal_interrupt_disable */\
+ /*TODO mutex lock hal_usb_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 hal_interrupt_enable */\
+ /*TODO mutex unlock hal_usb_int_enable */\
*(p_error) = TUSB_ERROR_NONE;\
}\
}while(0)
@@ -245,7 +245,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 hal_interrupt_disable consideration*/\
+ if (sem_hdl->count) sem_hdl->count--; /*TODO mutex hal_usb_int_disable consideration*/\
*(p_error) = TUSB_ERROR_NONE;\
}\
}while(0)
|
