From 49769a6f0a527d62d5059dec7dad56205c1f8ec9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 1 Jul 2023 09:42:10 -0500 Subject: [PATCH] Downgrade a few more to improve stability --- components/ratgdo/ratgdo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 990ca17..c869c61 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -536,10 +536,10 @@ namespace ratgdo { auto updates = *this->openingDuration * 1000 * delta / update_period; auto position_update = delta / updates; auto count = int(updates); - ESP_LOGD(TAG, "[Opening] Position sync %d times: ", count); + ESP_LOGV(TAG, "[Opening] Position sync %d times: ", count); // try to keep position in sync while door is moving set_retry("position_sync_while_moving", update_period, count, [=](uint8_t r) { - ESP_LOGD(TAG, "[Opening] Position sync: %d: ", r); + ESP_LOGV(TAG, "[Opening] Position sync: %d: ", r); this->doorPosition = *this->doorPosition + position_update; return RetryResult::RETRY; }); @@ -554,10 +554,10 @@ namespace ratgdo { auto updates = *this->closingDuration * 1000 * delta / update_period; auto position_update = delta / updates; auto count = int(updates); - ESP_LOGD(TAG, "[Closing] Position sync %d times: ", count); + ESP_LOGV(TAG, "[Closing] Position sync %d times: ", count); // try to keep position in sync while door is moving set_retry("position_sync_while_moving", update_period, count, [=](uint8_t r) { - ESP_LOGD(TAG, "[Closing] Position sync: %d: ", r); + ESP_LOGV(TAG, "[Closing] Position sync: %d: ", r); this->doorPosition = *this->doorPosition - position_update; return RetryResult::RETRY; });