diff options
| author | hathach <[email protected]> | 2018-03-11 13:01:57 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-11 13:01:57 +0700 |
| commit | 0384e40320605aa7b2b28777f41feabcc3b3f130 (patch) | |
| tree | 7593065e5b6f8aa01ddda91db7297d8144d6d940 /tinyusb/osal | |
| parent | c39b24001d57a128dc0d094c509ae4ed3998e617 (diff) | |
rename hal_* to tusb_hal_*
Diffstat (limited to 'tinyusb/osal')
| -rw-r--r-- | tinyusb/osal/osal_none.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tinyusb/osal/osal_none.h b/tinyusb/osal/osal_none.h index 16e7021ac..229c51b99 100644 --- a/tinyusb/osal/osal_none.h +++ b/tinyusb/osal/osal_none.h @@ -53,7 +53,7 @@ //--------------------------------------------------------------------+
// TICK API
//--------------------------------------------------------------------+
-#define osal_tick_get hal_tick_get
+#define osal_tick_get tusb_hal_tick_get
//--------------------------------------------------------------------+
// TASK API
@@ -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 hal_usb_int_disable */\
+ /*TODO mutex lock tusb_hal_init_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_usb_int_enable */\
+ /*TODO mutex unlock tusb_hal_init_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 hal_usb_int_disable consideration*/\
+ if (sem_hdl->count) sem_hdl->count--; /*TODO mutex tusb_hal_init_disable consideration*/\
*(p_error) = TUSB_ERROR_NONE;\
}\
}while(0)
|
