mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-03-28 12:07:56 +01:00
Migrate Datastore to TaskScheduler
This commit is contained in:
@@ -146,7 +146,7 @@ void setup()
|
||||
|
||||
InverterSettings.init();
|
||||
|
||||
Datastore.init();
|
||||
Datastore.init(&scheduler);
|
||||
}
|
||||
|
||||
void loop()
|
||||
@@ -157,8 +157,6 @@ void loop()
|
||||
yield();
|
||||
InverterSettings.loop();
|
||||
yield();
|
||||
Datastore.loop();
|
||||
yield();
|
||||
MqttHandleDtu.loop();
|
||||
yield();
|
||||
MqttHandleInverter.loop();
|
||||
|
||||
Reference in New Issue
Block a user