mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
const for Ticker::active() (#5850)
This commit is contained in:
parent
2528013c5d
commit
aa8d3482d3
@ -68,7 +68,7 @@ void Ticker::detach()
|
||||
_callback_function = nullptr;
|
||||
}
|
||||
|
||||
bool Ticker::active()
|
||||
bool Ticker::active() const
|
||||
{
|
||||
return (bool)_timer;
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ public:
|
||||
}
|
||||
|
||||
void detach();
|
||||
bool active();
|
||||
bool active() const;
|
||||
|
||||
protected:
|
||||
void _attach_ms(uint32_t milliseconds, bool repeat, callback_with_arg_t callback, uint32_t arg);
|
||||
|
Loading…
x
Reference in New Issue
Block a user