mirror of
https://github.com/hathach/tinyusb.git
synced 2026-02-13 14:15:52 +00:00
remove NVIC_SystemReset() in freertos examples
This commit is contained in:
@ -97,10 +97,8 @@ int main(void)
|
||||
// skip starting scheduler (and return) for ESP32-S2
|
||||
#if CFG_TUSB_MCU != OPT_MCU_ESP32S2
|
||||
vTaskStartScheduler();
|
||||
#if CFG_TUSB_MCU != OPT_MCU_RX63X
|
||||
NVIC_SystemReset();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@ -98,10 +98,8 @@ int main(void)
|
||||
// skip starting scheduler (and return) for ESP32-S2
|
||||
#if CFG_TUSB_MCU != OPT_MCU_ESP32S2
|
||||
vTaskStartScheduler();
|
||||
#if CFG_TUSB_MCU != OPT_MCU_RX63X
|
||||
NVIC_SystemReset();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user