diff --git a/Software/Software.ino b/Software/Software.ino index 619a0153..66d72c80 100644 --- a/Software/Software.ino +++ b/Software/Software.ino @@ -80,6 +80,8 @@ void setup() { // We print this after setting up serial, such that is also printed to serial with DEBUG_VIA_USB set. logging.printf("Battery emulator %s build " __DATE__ " " __TIME__ "\n", version_number); + init_events(); + init_stored_settings(); #ifdef WIFI @@ -92,8 +94,6 @@ void setup() { TASK_CONNECTIVITY_PRIO, &logging_loop_task, WIFI_CORE); #endif - init_events(); - init_CAN(); init_contactors();