From 9a5f21c792a8b63ec3f9990748ed35a070b2ae62 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2024 22:01:42 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- 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 327bbee..ddb963c 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -221,7 +221,7 @@ namespace ratgdo { if (!this->obstruction_sensor_detected_) { if (obstruction_state != last_state) { ESP_LOGD(TAG, "Obstruction: state=%s", ObstructionState_to_string(*this->obstruction_state)); - last_state = obstruction_state; + last_state = obstruction_state; } this->obstruction_state = obstruction_state;