From 74e2c9007b2ca990fdb1237967cf5674349de8b5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 16:35:59 -0500 Subject: [PATCH] fix --- 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 b9bbb10..3625d5f 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -296,7 +296,7 @@ namespace ratgdo { rotaryEncoderDetected = true; // this disables the reed switch handler lastCounterMillis = millis(); - ESP_LOGD(TAG, "Door Position: %d", doorPositionCounter); + ESP_LOGD(TAG, "Door Position: %d", this->store_.doorPositionCounter); } // Wait 5 pulses before updating to door opening status