Unverified Commit f1acc432 authored by GitNik1's avatar GitNik1 Committed by GitHub

Fix Ticker::Active crash if _ticker null (#6511) (#6513)

parent 6fe1c4c5
......@@ -58,5 +58,6 @@ void Ticker::detach() {
}
bool Ticker::active() {
if (!_timer) return false;
return esp_timer_is_active(_timer);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment