Fix to be non blocking without tasks

This commit is contained in:
2026-02-28 14:31:42 +11:00
parent 31765c7ac8
commit 4944757903
5 changed files with 45 additions and 10 deletions

View File

@@ -137,7 +137,7 @@ void setup() {
}
void loop() {
victron.loop();
victron.loop(); // Blocks for scanDuration seconds
unsigned long now = millis();
if (now - lastSendTime >= SEND_INTERVAL_MS) {
@@ -171,5 +171,4 @@ void loop() {
blePacketCount, sendCount, sendFailCount, cachedCount);
}
delay(100);
}