diff --git a/main/ate0005.c b/main/ate0005.c index 6254722..91e346d 100644 --- a/main/ate0005.c +++ b/main/ate0005.c @@ -54,15 +54,15 @@ void app_main(void) _lcd_mutex = xSemaphoreCreateMutex(); nvs_flash_init(); esp_event_loop_create_default(); - _zh_wifi_init(); - _zh_webserver_init(); _zh_pcf8574_init(); _zh_system_load(); _zh_encoder_init(); + _zh_timer_init(); _zh_a_inclinometer_init(); _zh_b_inclinometer_init(); + _zh_wifi_init(); + _zh_webserver_init(); _zh_espnow_init(); - _zh_timer_init(); const esp_partition_t *running = esp_ota_get_running_partition(); esp_ota_img_states_t ota_state = {0}; esp_ota_get_state_partition(running, &ota_state);