We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cc6fe commit 8c4ed44Copy full SHA for 8c4ed44
src/arduino-timer-cpp17.h
@@ -55,7 +55,7 @@ using Timepoint = unsigned long;
55
56
enum class TimerStatus
57
{
58
- complete,
+ completed,
59
repeat,
60
reschedule
61
};
@@ -204,7 +204,7 @@ class TimerSet {
204
return;
205
}
206
207
- auto timer = handle.value().get();
+ auto& timer = handle.value().get();
208
209
if (!timer.handler) {
210
@@ -233,7 +233,7 @@ class TimerSet {
233
auto [ status, next ] = timer.handler();
234
235
switch (status) {
236
- case TimerStatus::complete:
+ case TimerStatus::completed:
237
remove(timer);
238
break;
239
case TimerStatus::repeat:
0 commit comments