Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 12, 2024
1 parent 9fc41b4 commit 6d6ed06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/ratgdo/secplus1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6d6ed06

Please sign in to comment.