mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-22 19:20:52 +00:00
remove NVIC_SystemReset() in freertos examples
This commit is contained in:
parent
ff2978d95f
commit
1d8a79ef4f
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user