mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-21 10:28:04 +00:00
parent
6fe1c4c5d6
commit
f1acc432af
@ -58,5 +58,6 @@ void Ticker::detach() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Ticker::active() {
|
bool Ticker::active() {
|
||||||
|
if (!_timer) return false;
|
||||||
return esp_timer_is_active(_timer);
|
return esp_timer_is_active(_timer);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user