mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-05 06:46:31 +02:00
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