From 6d6ed060790f6e2be333f8441e3efbfadd8c0887 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:48:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- components/ratgdo/secplus1.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;