remove NVIC_SystemReset() in freertos examples

This commit is contained in:
hathach 2021-03-31 20:50:08 +07:00
parent ff2978d95f
commit 1d8a79ef4f
2 changed files with 2 additions and 6 deletions

View File

@ -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;
}

View File

@ -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;
}