Commit e1b6c20
committed
Revert "Inline USB start/stop callback tasks"
This reverts commit 01ed893.
Because starting file system within event loop failed:
```
ESP_ERROR_CHECK failed: esp_err_t 0x1 (ERROR) at 0x4037ab88
#0 0x4037ab88 in _esp_error_check_failed at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/esp_err.c:42
file: "lib/storage/storage.cpp" line 117
func: void switchToApplicationMode()
expression: FFat.begin()
abort() was called at PC 0x4037ab8b on core 1
Backtrace: 0x403777ba:0x3fcf2100 0x4037ab95:0x3fcf2120 0x4038058d:0x3fcf2140 0x4037ab8b:0x3fcf21c0 0x42002afb:0x3fcf21e0 0x42002b15:0x3fcf2200 0x4205e6d5:0x3fcf2220 0x4205e754:0x3fcf2270
#0 0x403777ba in panic_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/panic.c:408
#1 0x4037ab95 in esp_system_abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/esp_system.c:137
#2 0x4038058d in abort at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/newlib/abort.c:46
#3 0x4037ab8b in _esp_error_check_failed at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_system/esp_err.c:43
#4 0x42002afb in switchToApplicationMode() at lib/storage/storage.cpp:117 (discriminator 1)
#5 0x42002b15 in usbStoppedCallback(void*, char const*, int, void*) at lib/storage/storage.cpp:139
#6 0x4205e6d5 in handler_execute at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_event/esp_event.c:145
(inlined by) esp_event_loop_run at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_event/esp_event.c:598
#7 0x4205e754 in esp_event_loop_run_task at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/esp_event/esp_event.c:115 (discriminator 15)
```1 parent 175e464 commit e1b6c20
1 file changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
131 | 144 | | |
132 | 145 | | |
133 | 146 | | |
| |||
136 | 149 | | |
137 | 150 | | |
138 | 151 | | |
139 | | - | |
| 152 | + | |
140 | 153 | | |
141 | | - | |
142 | 154 | | |
143 | 155 | | |
144 | 156 | | |
145 | | - | |
| 157 | + | |
146 | 158 | | |
147 | 159 | | |
148 | 160 | | |
| |||
0 commit comments