Avoid bad relay trigger on startup

This commit is contained in:
Pierre HUBERT 2024-09-28 20:33:11 +02:00
parent 4d07d83904
commit b4220a3254

View File

@ -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)