mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 06:54:52 +01:00
don't reference timer_running_ directly
This commit is contained in:
parent
71f9d0ccb6
commit
aad5b46f82
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ void HBridgeSwitch::dump_config() {
|
|||
|
||||
void HBridgeSwitch::write_state(bool state) {
|
||||
this->desired_state_ = state;
|
||||
if (!timer_running_)
|
||||
if (!this->timer_running_)
|
||||
this->timer_fn_();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue