fix lint compile warnings

This commit is contained in:
proddy
2023-11-15 21:40:49 +01:00
parent 29f86c9ab9
commit cc9819b56b
2 changed files with 5 additions and 5 deletions

View File

@@ -43,10 +43,10 @@ class Extension : public EMSdevice {
int16_t headerTemp_; // T0 int16_t headerTemp_; // T0
uint8_t input_; // IO1 uint8_t input_; // IO1
uint8_t errorState_; // OE1 // uint8_t errorState_; // OE1
uint8_t errorPump_; // IE0 // uint8_t errorPump_; // IE0
uint8_t outPower_; // IO1 uint8_t outPower_; // IO1
uint8_t setPower_; // request uint8_t setPower_; // request
uint8_t setPoint_; uint8_t setPoint_;
uint8_t dip_; // dip switch uint8_t dip_; // dip switch
uint8_t minV_; uint8_t minV_;

View File

@@ -51,7 +51,7 @@ void Roomctrl::set_remotehum(const uint8_t type, const uint8_t hc, const int8_t
return; return;
} }
type_ = type; 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; switch_off_[hc] = true;
} }
if (remotehum_[hc] != hum) { if (remotehum_[hc] != hum) {