diff options
| author | hathach <[email protected]> | 2018-04-13 16:10:42 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-13 16:10:42 +0700 |
| commit | e7d7cb222a32f768b47e6e39d92d12ed187a7055 (patch) | |
| tree | 8d22cd31c42065cbd00598142fd5b26837b6b705 /tinyusb/host | |
| parent | a24615bffcba2272af9d0d75bdefb6a8a6180e89 (diff) | |
rename CFG_TUSB_OS_TASK_PRIO to CFG_TUD_TASK_PRIO, TUC_DEVICE_STACKSIZE to CFG_TUD_TASK_STACKSIZE
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 73e6835ec..506135b49 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -42,8 +42,8 @@ #define _TINY_USB_SOURCE_FILE_
-#ifndef CFG_TUSB_OS_TASK_PRIO
-#define CFG_TUSB_OS_TASK_PRIO 0
+#ifndef CFG_TUD_TASK_PRIO
+#define CFG_TUD_TASK_PRIO 0
#endif
//--------------------------------------------------------------------+
@@ -150,7 +150,7 @@ tusb_error_t usbh_init(void) enum_queue_hdl = osal_queue_create( ENUM_QUEUE_DEPTH, sizeof(uint32_t) );
TU_ASSERT(enum_queue_hdl, TUSB_ERROR_OSAL_QUEUE_FAILED);
- osal_task_create(usbh_enumeration_task, "usbh", 200, NULL, CFG_TUSB_OS_TASK_PRIO);
+ osal_task_create(usbh_enumeration_task, "usbh", 200, NULL, CFG_TUD_TASK_PRIO);
//------------- Semaphore, Mutex for Control Pipe -------------//
for(uint8_t i=0; i<CFG_TUSB_HOST_DEVICE_MAX+1; i++) // including address zero
|
