mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-29 05:24:56 +02:00
Remove SUNPOS_UPDATE_INTERVAL define and introduce INVERTER_UPDATE_SETTINGS_INTERVAL.
This commit is contained in:
@@ -90,7 +90,7 @@ void InverterSettingsClass::init()
|
||||
|
||||
void InverterSettingsClass::loop()
|
||||
{
|
||||
if (millis() - _lastUpdate > SUNPOS_UPDATE_INTERVAL) {
|
||||
if (millis() - _lastUpdate > INVERTER_UPDATE_SETTINGS_INTERVAL) {
|
||||
const CONFIG_T& config = Configuration.get();
|
||||
|
||||
for (uint8_t i = 0; i < INV_MAX_COUNT; i++) {
|
||||
@@ -109,4 +109,4 @@ void InverterSettingsClass::loop()
|
||||
}
|
||||
|
||||
Hoymiles.loop();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user