change osal_queue_receive() signature

- fix build issue with freertos
This commit is contained in:
hathach
2018-11-14 16:31:28 +07:00
parent 5732be224c
commit 10bf41f718
8 changed files with 47 additions and 31 deletions

View File

@@ -361,9 +361,15 @@ void usbh_enumeration_task(void* param)
{
(void) param;
OSAL_TASK_BEGIN
#if CFG_TUSB_OS != OPT_OS_NONE
while (1) {
#endif
enumeration_body_subtask();
OSAL_TASK_END
#if CFG_TUSB_OS != OPT_OS_NONE
}
#endif
}
tusb_error_t enumeration_body_subtask(void)