You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
esp8266: Set up UART handling task soon into init process.
Otherwise, events may be posted to non-initialized task, which leads to segfaults.
This commit is contained in:
+1
-1
@@ -62,10 +62,10 @@ void soft_reset(void) {
|
||||
}
|
||||
|
||||
void init_done(void) {
|
||||
uart_task_init();
|
||||
mp_reset();
|
||||
mp_hal_stdout_tx_str("\r\n");
|
||||
pyexec_event_repl_init();
|
||||
uart_task_init();
|
||||
}
|
||||
|
||||
void user_init(void) {
|
||||
|
||||
Reference in New Issue
Block a user