Skip to content

Commit 16679c0

Browse files
authored
Update Ticker.cpp
fix error when call method active(): `undefined reference to Ticker::active()`
1 parent 399f4ec commit 16679c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/Ticker/src/Ticker.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,7 @@ void Ticker::detach() {
5656
_timer = nullptr;
5757
}
5858
}
59+
60+
void Ticker::active() {
61+
return (bool)_timer;
62+
}

0 commit comments

Comments
 (0)