diff options
| author | hathach <[email protected]> | 2018-03-01 12:14:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 12:14:44 +0700 |
| commit | 7add7337babf0af8f4f2bbd1127e57dc0d580c1d (patch) | |
| tree | 21ce57fd0fa035161b8970e64028778824d19325 /tinyusb/host | |
| parent | 40935fc01ca33b6123c1626f930faf9b48e0b2b0 (diff) | |
osal macro clean up
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index e1fb320bd..e9750f1fa 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -351,11 +351,9 @@ void usbh_enumeration_task(void* param) {
(void) param;
- OSAL_TASK_LOOP_BEGIN
-
+ OSAL_TASK_BEGIN
enumeration_body_subtask();
-
- OSAL_TASK_LOOP_END
+ OSAL_TASK_END
}
tusb_error_t enumeration_body_subtask(void)
|
