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 a841ae4 commit 62fd912Copy full SHA for 62fd912
TickerScheduler.cpp
@@ -78,11 +78,10 @@ bool TickerScheduler::disable(uint8_t i)
78
79
bool TickerScheduler::enable(uint8_t i)
80
{
81
- if (i >= this->size || !this->items[i].is_used)
82
- return false;
+ if (i >= this->size || !this->items[i].is_used) return false;
83
84
- bool * flag = &this->items[i].flag;
85
- this->items[i].t.attach_ms(this->items[i].period, TickerScheduler::handleTickerFlag, flag);
+ bool * flag = &this->items[i].flag;
+ this->items[i].t.attach_ms(this->items[i].period, TickerScheduler::handleTickerFlag, flag);
86
87
return true;
88
}
0 commit comments