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:
parent
651a188299
commit
53302f1616
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue