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/class | |
| parent | 40935fc01ca33b6123c1626f930faf9b48e0b2b0 (diff) | |
osal macro clean up
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/cdc_rndis_host.c | 6 |
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) |
