Skip to content

Commit 5bbbe40

Browse files
committed
RETRY_FUNCTION: Correct rollover check
1 parent 2cee18a commit 5bbbe40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Wippersnapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
if (condition(result_var)) { \
101101
break; \
102102
} \
103-
if (startTime < millis()) { \
103+
if (startTime > millis()) { \
104104
startTime = millis(); /* if rollover */ \
105105
} \
106106
WS_DELAY_WITH_WDT(interval); \

0 commit comments

Comments
 (0)