Vice presny periodicky rezim

This commit is contained in:
Pavel Brychta 2024-12-15 14:30:44 +01:00
parent 1c870374cd
commit a4b1c9b242

View File

@ -28,7 +28,7 @@ bool Interval::expired()
// periodic mode
if ((millis() - _timefrom) >= _timeout) {
result = true;
_timefrom = millis();
_timefrom += _timeout; // more precise periodic timing
}
} else {
// compatibility mode