diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index eaabacf..8ab4ee2 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -308,7 +308,7 @@ namespace ratgdo { } this->previousLockState = this->lockState; } - if (this->obstructionState != this->previousObstructionState){ + if (this->obstructionState != this->previousObstructionState) { ObstructionState val = static_cast(this->obstructionState); ESP_LOGD(TAG, "Obstruction state %s", obstruction_state_to_string(val)); for (auto* child : this->children_) {