From 7add7337babf0af8f4f2bbd1127e57dc0d580c1d Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 1 Mar 2018 12:14:44 +0700 Subject: osal macro clean up --- tinyusb/host/usbh.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tinyusb/host') 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) -- cgit v1.3.1