From ea3dc116a087a8764b5b1cfc58ad8f9ee84ac427 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 20:12:15 -0500 Subject: [PATCH] cleanups --- components/ratgdo/ratgdo.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 2f7a99c..04225c7 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -195,7 +195,6 @@ namespace ratgdo { } else if (cmd == 0x285) { motion = 1; // toggle bit ESP_LOGD(TAG, "Motion: %d (toggle)", motion); - } } @@ -579,7 +578,7 @@ namespace ratgdo { if (this->lightState == LightState::LIGHT_STATE_ON) { ESP_LOGD(TAG, "The light is already on"); } else { - toggleLight(); + toggleLight(); } }