perf: changed starting order of functions

This commit is contained in:
aZholtikov committed 2026-03-11 10:58:31 +03:00
1 parent eaf66e38e5
commit 45df58a940
1 file changed
+3 -3
+3 -3
View File
@@ -54,15 +54,15 @@ void app_main(void)
_lcd_mutex = xSemaphoreCreateMutex(); _lcd_mutex = xSemaphoreCreateMutex();
nvs_flash_init(); nvs_flash_init();
esp_event_loop_create_default(); esp_event_loop_create_default();
_zh_wifi_init();
_zh_webserver_init();
_zh_pcf8574_init(); _zh_pcf8574_init();
_zh_system_load(); _zh_system_load();
_zh_encoder_init(); _zh_encoder_init();
_zh_timer_init();
_zh_a_inclinometer_init(); _zh_a_inclinometer_init();
_zh_b_inclinometer_init(); _zh_b_inclinometer_init();
_zh_wifi_init();
_zh_webserver_init();
_zh_espnow_init(); _zh_espnow_init();
_zh_timer_init();
const esp_partition_t *running = esp_ota_get_running_partition(); const esp_partition_t *running = esp_ota_get_running_partition();
esp_ota_img_states_t ota_state = {0}; esp_ota_img_states_t ota_state = {0};
esp_ota_get_state_partition(running, &ota_state); esp_ota_get_state_partition(running, &ota_state);