diff --git a/components/ratgdo/secplus1.cpp b/components/ratgdo/secplus1.cpp index f97cc04..5ada444 100644 --- a/components/ratgdo/secplus1.cpp +++ b/components/ratgdo/secplus1.cpp @@ -293,10 +293,10 @@ namespace ratgdo { void Secplus1::handle_command(const RxCommand& cmd) { - if (cmd.req == CommandType::TOGGLE_DOOR_RELEASE || cmd.resp == 0x31) { - ESP_LOGD(TAG,"wall panel is starting"); + if (cmd.req == CommandType::TOGGLE_DOOR_RELEASE || cmd.resp == 0x31) { + ESP_LOGD(TAG, "wall panel is starting"); this->wall_panel_starting_ = true; - } else if (cmd.req == CommandType::QUERY_DOOR_STATUS) { + } else if (cmd.req == CommandType::QUERY_DOOR_STATUS) { DoorState door_state; auto val = cmd.resp & 0x7;