未验证 提交 f1acc432 编写于 作者: G GitNik1 提交者: GitHub

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册