Skip to content

Commit ba5ac83

Browse files
committed
Revert timer
1 parent 0c8cb7c commit ba5ac83

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/ksf/misc/ksSimpleTimer.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ namespace ksf::misc
2828

2929
bool ksSimpleTimer::hasTimePassed() const
3030
{
31-
/* If interval is set to 0, it means the timer is disabled. */
32-
if (intervalMs == 0)
33-
return false;
34-
3531
return intervalMs && millis() - lastTriggerTimeMs > intervalMs;
3632
}
3733

0 commit comments

Comments
 (0)