start sys;log after network to prevent crash on Ethernet

This commit is contained in:
proddy
2021-03-29 11:15:07 +02:00
parent 4b6c676992
commit 8e59460845

View File

@@ -236,9 +236,9 @@ void System::start(uint32_t heap_start) {
commands_init(); // console & api commands commands_init(); // console & api commands
led_init(false); // init LED led_init(false); // init LED
adc_init(false); // analog ADC adc_init(false); // analog ADC
syslog_init(false); // init SysLog
button_init(false); // the special button button_init(false); // the special button
network_init(false); // network network_init(false); // network
syslog_init(false); // init SysLog, must start after network
EMSESP::init_uart(); // start UART EMSESP::init_uart(); // start UART
} }