Skip to content
Snippets Groups Projects
Commit 53302f16 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266: Set up UART handling task soon into init process.

Otherwise, events may be posted to non-initialized task, which leads to
segfaults.
parent 651a1882
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment