From 7524493c3ceefd80745bd65735b5e46f1ee5ca9f Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 24 Jul 2020 22:36:59 +0200 Subject: [PATCH] Fix senseair flush input buffer wrong log level (#1194) See also https://github.com/esphome/esphome/pull/1017/files --- esphome/components/senseair/senseair.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/senseair/senseair.cpp b/esphome/components/senseair/senseair.cpp index 19831874d7..812a4aa42d 100644 --- a/esphome/components/senseair/senseair.cpp +++ b/esphome/components/senseair/senseair.cpp @@ -24,11 +24,11 @@ void SenseAirComponent::update() { this->status_set_warning(); while (this->available()) { - unsigned char b; + uint8_t b; if (this->read_byte(&b)) { - ESP_LOGD(TAG, " ... %02x", b); + ESP_LOGV(TAG, " ... %02x", b); } else { - ESP_LOGD(TAG, " ... nothing read"); + ESP_LOGV(TAG, " ... nothing read"); } } return;