mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Add a function to return the loop_interval (#6666)
This commit is contained in:
parent
a4a23d73b3
commit
539c369eea
1 changed files with 2 additions and 0 deletions
|
@ -222,6 +222,8 @@ class Application {
|
|||
*/
|
||||
void set_loop_interval(uint32_t loop_interval) { this->loop_interval_ = loop_interval; }
|
||||
|
||||
uint32_t get_loop_interval() const { return this->loop_interval_; }
|
||||
|
||||
void schedule_dump_config() { this->dump_config_at_ = 0; }
|
||||
|
||||
void feed_wdt();
|
||||
|
|
Loading…
Reference in a new issue