Skip to content

Commit ea16380

Browse files
committed
Fix AlarmTimedWakeup example
Signed-off-by: Frederic Pillon <[email protected]>
1 parent affe137 commit ea16380

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/AlarmTimedWakeup/AlarmTimedWakeup.ino

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,6 @@ void alarmMatch(void* data)
8181

8282
if (data != NULL) {
8383
_millis = *(uint32_t*)data;
84-
// Minimum is 1 second
85-
if (sec == 0) {
86-
sec = 1;
87-
}
8884
}
8985

9086
sec = _millis / 1000;

0 commit comments

Comments
 (0)