mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
compile fixes
This commit is contained in:
@@ -419,7 +419,7 @@ void showInfo() {
|
|||||||
_renderIntValue("Boiler circuit pump modulation min power", "%", EMS_Boiler.pump_mod_min);
|
_renderIntValue("Boiler circuit pump modulation min power", "%", EMS_Boiler.pump_mod_min);
|
||||||
|
|
||||||
// UBAMonitorSlow
|
// UBAMonitorSlow
|
||||||
if (EMS_Boiler.extTemp != EMS_VALUE_SHORT_NOTSET) {
|
if (EMS_Boiler.extTemp != (int16_t)EMS_VALUE_SHORT_NOTSET) {
|
||||||
_renderShortValue("Outside temperature", "C", EMS_Boiler.extTemp);
|
_renderShortValue("Outside temperature", "C", EMS_Boiler.extTemp);
|
||||||
}
|
}
|
||||||
_renderShortValue("Boiler temperature", "C", EMS_Boiler.boilTemp);
|
_renderShortValue("Boiler temperature", "C", EMS_Boiler.boilTemp);
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#define EMS_VALUE_INT_ON 1 // boolean true
|
#define EMS_VALUE_INT_ON 1 // boolean true
|
||||||
#define EMS_VALUE_INT_OFF 0 // boolean false
|
#define EMS_VALUE_INT_OFF 0 // boolean false
|
||||||
#define EMS_VALUE_INT_NOTSET 0xFF // for 8-bit ints
|
#define EMS_VALUE_INT_NOTSET 0xFF // for 8-bit ints
|
||||||
#define EMS_VALUE_SHORT_NOTSET 0x8000 // for 2-byte shorts
|
#define EMS_VALUE_SHORT_NOTSET 0xFFFF // for 2-byte signed shorts
|
||||||
#define EMS_VALUE_LONG_NOTSET 0xFFFFFF // for 3-byte longs
|
#define EMS_VALUE_LONG_NOTSET 0xFFFFFF // for 3-byte longs
|
||||||
|
|
||||||
#define EMS_THERMOSTAT_WRITE_YES true
|
#define EMS_THERMOSTAT_WRITE_YES true
|
||||||
|
|||||||
Reference in New Issue
Block a user