mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
start sys;log after network to prevent crash on Ethernet
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user