Add a function to return the loop_interval (#6666)

This commit is contained in:
tronikos 2024-05-01 17:39:15 -07:00 committed by GitHub
parent a4a23d73b3
commit 539c369eea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -222,6 +222,8 @@ class Application {
*/ */
void set_loop_interval(uint32_t loop_interval) { this->loop_interval_ = loop_interval; } 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 schedule_dump_config() { this->dump_config_at_ = 0; }
void feed_wdt(); void feed_wdt();