bug in thermostat day mode with RC3000

This commit is contained in:
Paul
2019-09-23 09:58:01 +02:00
parent d820e72994
commit 6f926d965a

View File

@@ -1463,7 +1463,7 @@ void _process_RCPLUSStatusMessage(_EMS_RxTelegram * EMS_RxTelegram) {
// manual : 10 00 FF 0A 01 A5 02
// auto : Thermostat -> all, type 0x01A5 telegram: 10 00 FF 0A 01 A5 03
EMS_Thermostat.hc[hc].mode = _bitRead(0, 0); // bit 1, mode (auto=1 or manual=0)
EMS_Thermostat.hc[EMS_TYPE_RC35StatusMessage_HC3].day_mode = _bitRead(0, 1); // get day mode flag
EMS_Thermostat.hc[hc].day_mode = _bitRead(0, 1); // get day mode flag
break;
}