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 bcf0e7b commit 64aec3aCopy full SHA for 64aec3a
libraries/Ticker/examples/Blinker/Blinker.ino
@@ -23,7 +23,8 @@ void toggle() {
23
if (isBlinking) {
24
blinker.detach();
25
isBlinking = false;
26
- } else {
+ }
27
+ else {
28
blinker.attach(blinkerPace, blink);
29
isBlinking = true;
30
}
@@ -37,5 +38,5 @@ void setup() {
37
38
39
40
void loop() {
-
41
+
42
libraries/Ticker/src/Ticker.h
@@ -123,7 +123,7 @@ class Ticker
123
void detach();
124
bool active() const;
125
126
-protected:
+protected:
127
static void _static_callback(void* arg);
128
129
callback_function_t _callback_function = nullptr;
0 commit comments