From cc9819b56b6f8e1f900d14aff8808e4576c04ca0 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 15 Nov 2023 21:40:49 +0100 Subject: [PATCH] fix lint compile warnings --- src/devices/extension.h | 8 ++++---- src/roomcontrol.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/devices/extension.h b/src/devices/extension.h index ae592bd66..617456bdc 100644 --- a/src/devices/extension.h +++ b/src/devices/extension.h @@ -43,10 +43,10 @@ class Extension : public EMSdevice { int16_t headerTemp_; // T0 uint8_t input_; // IO1 - uint8_t errorState_; // OE1 - uint8_t errorPump_; // IE0 - uint8_t outPower_; // IO1 - uint8_t setPower_; // request + // uint8_t errorState_; // OE1 + // uint8_t errorPump_; // IE0 + uint8_t outPower_; // IO1 + uint8_t setPower_; // request uint8_t setPoint_; uint8_t dip_; // dip switch uint8_t minV_; diff --git a/src/roomcontrol.cpp b/src/roomcontrol.cpp index f3faece46..92472b8aa 100644 --- a/src/roomcontrol.cpp +++ b/src/roomcontrol.cpp @@ -51,7 +51,7 @@ void Roomctrl::set_remotehum(const uint8_t type, const uint8_t hc, const int8_t return; } type_ = type; - if (remotehum_[hc] != EMS_VALUE_UINT_NOTSET && hum == EMS_VALUE_UINT_NOTSET) { + if (remotehum_[hc] != EMS_VALUE_UINT_NOTSET && (uint8_t)hum == EMS_VALUE_UINT_NOTSET) { switch_off_[hc] = true; } if (remotehum_[hc] != hum) {