From 379938659f6f21819d32ea7b4f58374bdc0901b2 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Fri, 9 Jun 2023 18:34:56 -0500 Subject: [PATCH] button --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 211a056..076ff90 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -101,7 +101,7 @@ namespace ratgdo { this->motionState = MotionState::MOTION_STATE_CLEAR; // when the status message is read, reset motion state to 0|clear this->motorState = MotorState::MOTOR_STATE_OFF; // when the status message is read, reset motor state to 0|off // obstruction = (byte1 >> 6) & 1; // unreliable due to the time it takes to register an obstruction - ESP_LOGD(TAG, "Door: %d Light: %d Lock: %dd", this->doorState, this->lightState, this->lockState); + ESP_LOGD(TAG, "Door: %d Light: %d Lock: %d", this->doorState, this->lightState, this->lockState); } else if (cmd == 0x281) { this->lightState ^= 1; // toggle bit