From 8e59460845eca253bbc63d60f96ee50beb477adf Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 29 Mar 2021 11:15:07 +0200 Subject: [PATCH] start sys;log after network to prevent crash on Ethernet --- src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index 2a8d57c99..30c5720c4 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -236,9 +236,9 @@ void System::start(uint32_t heap_start) { commands_init(); // console & api commands led_init(false); // init LED adc_init(false); // analog ADC - syslog_init(false); // init SysLog button_init(false); // the special button network_init(false); // network + syslog_init(false); // init SysLog, must start after network EMSESP::init_uart(); // start UART }