mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix lint compile warnings
This commit is contained in:
@@ -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_;
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user