diff options
| author | hathach <[email protected]> | 2013-02-04 18:05:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-02-04 18:05:22 +0700 |
| commit | 5e8d70a184f01121ed9849452dc81ebe9600b86f (patch) | |
| tree | 3e01f6d45e58b854d712d59b13b0688b1f2ad892 /tinyusb/host | |
| parent | dd9da7846a0ef74d240af22f508fe7a32a99085c (diff) | |
complete define osal_freeRTOS for semaphore and queue
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tinyusb/host/usbh.h b/tinyusb/host/usbh.h index 9aa447d58..fcc43395f 100644 --- a/tinyusb/host/usbh.h +++ b/tinyusb/host/usbh.h @@ -130,12 +130,13 @@ void tusbh_device_mounted_cb (tusb_error_t const error, tusb_handle_devi tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl, uint8_t const configure_number) ATTR_WARN_UNUSED_RESULT; tusbh_device_status_t tusbh_device_status_get (tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT; +#if TUSB_CFG_OS == TUSB_OS_NONE // TODO move later static inline void tusb_tick_tock(void) ATTR_ALWAYS_INLINE; static inline void tusb_tick_tock(void) { osal_tick_tock(); } - +#endif //--------------------------------------------------------------------+ // CLASS-USBD API |
