forked from espressif/arduino-esp32
Implement Ticker::active() (#6148)
This commit is contained in:
committed by
GitHub
parent
78b2df74f5
commit
a134088a0b
@ -56,3 +56,7 @@ void Ticker::detach() {
|
||||
_timer = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
bool Ticker::active() {
|
||||
return esp_timer_is_active(_timer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user