From b4220a325498bba462198ade97e8593c7e17d624 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Sep 2024 20:33:11 +0200 Subject: [PATCH] Avoid bad relay trigger on startup --- esp32_device/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32_device/main/main.c b/esp32_device/main/main.c index f03a43d..5cc3cf3 100755 --- a/esp32_device/main/main.c +++ b/esp32_device/main/main.c @@ -23,8 +23,8 @@ void app_main(void) ESP_LOGI(TAG, "SolarEnergy WT32-ETH01 device"); // Turn off all relays - relays_setup(); relays_turn_off_all(); + relays_setup(); // Initialize storage if (storage_init() == false)