summaryrefslogtreecommitdiff
path: root/tinyusb/device
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-03-01 11:28:26 +0700
committerhathach <[email protected]>2018-03-01 11:28:26 +0700
commit329fdc026c4536b218438577c90491bc0b69fff8 (patch)
treeacd8b9abffcb78231774cc955e0bc544ea68ffa7 /tinyusb/device
parenta789fad4b7b23b8324e07ee4b9d08a145f5df0f9 (diff)
change osal_task_create signature
Diffstat (limited to 'tinyusb/device')
-rw-r--r--tinyusb/device/usbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tinyusb/device/usbd.c b/tinyusb/device/usbd.c
index 790143320..46437e36f 100644
--- a/tinyusb/device/usbd.c
+++ b/tinyusb/device/usbd.c
@@ -168,8 +168,7 @@ tusb_error_t usbd_init (void)
usbd_control_xfer_sem_hdl = osal_semaphore_create(1, 0);
ASSERT_PTR(usbd_queue_hdl, TUSB_ERROR_OSAL_SEMAPHORE_FAILED);
- osal_task_t usbd_hdl;
- osal_task_create(usbd_task, "usbd", TUC_DEVICE_STACKSIZE, NULL, TUSB_CFG_OS_TASK_PRIO, &usbd_hdl);
+ osal_task_create(usbd_task, "usbd", TUC_DEVICE_STACKSIZE, NULL, TUSB_CFG_OS_TASK_PRIO);
//------------- Descriptor Check -------------//