summaryrefslogtreecommitdiff
path: root/tinyusb/class
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb/class')
-rw-r--r--tinyusb/class/cdc_rndis_host.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tinyusb/class/cdc_rndis_host.c b/tinyusb/class/cdc_rndis_host.c
index 7f164fb48..75184b39d 100644
--- a/tinyusb/class/cdc_rndis_host.c
+++ b/tinyusb/class/cdc_rndis_host.c
@@ -91,11 +91,9 @@ tusb_error_t tusbh_cdc_rndis_get_mac_addr(uint8_t dev_addr, uint8_t mac_address[
// forever loop cannot have any return at all.
OSAL_TASK_FUNCTION(cdch_rndis_task) (void* param;)
{
- OSAL_TASK_LOOP_BEGIN
-
+ OSAL_TASK_BEGIN
rndis_body_subtask();
-
- OSAL_TASK_LOOP_END
+ OSAL_TASK_END
}
static tusb_error_t rndis_body_subtask(void)