don't reference timer_running_ directly

This commit is contained in:
David Woodhouse 2024-10-16 18:10:24 +01:00
parent 71f9d0ccb6
commit aad5b46f82

View file

@ -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_();
}