diff options
| author | hathach <[email protected]> | 2018-11-14 16:31:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-11-14 16:31:28 +0700 |
| commit | 10bf41f718ea867a3621e11b4c49e72605bbcc89 (patch) | |
| tree | 788f3613c3a2c0ec500dda16fcb7ae5ed2062513 /src/host | |
| parent | 5732be224c69c35efdc44f250e83e42cf52e2526 (diff) | |
change osal_queue_receive() signature
- fix build issue with freertos
Diffstat (limited to 'src/host')
| -rw-r--r-- | src/host/usbh.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index b849de9b9..f996d7a70 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -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)
|
