diff options
| author | hathach <[email protected]> | 2021-03-31 20:50:08 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-03-31 20:50:08 +0700 |
| commit | 1d8a79ef4f4f6603ea8102b08613e97e18ed7eb6 (patch) | |
| tree | e6c5dc467e1a378d3ebf97293c8e9da301aa2bc8 | |
| parent | ff2978d95fe80ec7abcabbc6c5a451f6b998dae2 (diff) | |
remove NVIC_SystemReset() in freertos examples
| -rw-r--r-- | examples/device/cdc_msc_freertos/src/main.c | 4 | ||||
| -rw-r--r-- | examples/device/hid_composite_freertos/src/main.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/device/cdc_msc_freertos/src/main.c b/examples/device/cdc_msc_freertos/src/main.c index abb95f4f3..ccff2e0fb 100644 --- a/examples/device/cdc_msc_freertos/src/main.c +++ b/examples/device/cdc_msc_freertos/src/main.c @@ -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; } diff --git a/examples/device/hid_composite_freertos/src/main.c b/examples/device/hid_composite_freertos/src/main.c index 1b42cee40..37b4a0cf7 100644 --- a/examples/device/hid_composite_freertos/src/main.c +++ b/examples/device/hid_composite_freertos/src/main.c @@ -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; } |
