Skip to content

Commit 65ea11b

Browse files
committed
formatting only
1 parent b2113ad commit 65ea11b

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

src/devices/boiler.cpp

+15-14
Original file line numberDiff line numberDiff line change
@@ -980,13 +980,13 @@ void Boiler::process_UBASettingsWW(std::shared_ptr<const Telegram> telegram) {
980980
// Boiler(0x08) -> Me(0x0B), UBAParameterWW(0x33), data: 08 FF 30 FB FF 28 FF 07 46 00 00
981981
void Boiler::process_UBAParameterWW(std::shared_ptr<const Telegram> telegram) {
982982
// has_bitupdate(telegram, wwEquipt_,0,3); // 8=boiler has ww
983-
has_update(telegram, wwActivated_, 1); // 0xFF means on
983+
has_update(telegram, wwActivated_, 1); // 0xFF means on
984984
has_update(telegram, wwSelTemp_, 2);
985-
has_update(telegram, wwHystOn_, 3); // Hyst on (default -5)
986-
has_update(telegram, wwHystOff_, 4); // Hyst off (default -1)
987-
has_update(telegram, wwFlowTempOffset_, 5); // default 40
988-
has_update(telegram, wwCircPump_, 6); // 0xFF means on
989-
has_update(telegram, wwCircMode_, 7); // 0=off, 1=1x3min 6=6x3min 7=continuous
985+
has_update(telegram, wwHystOn_, 3); // Hyst on (default -5)
986+
has_update(telegram, wwHystOff_, 4); // Hyst off (default -1)
987+
has_update(telegram, wwFlowTempOffset_, 5); // default 40
988+
has_update(telegram, wwCircPump_, 6); // 0xFF means on
989+
has_update(telegram, wwCircMode_, 7); // 0=off, 1=1x3min 6=6x3min 7=continuous
990990
has_update(telegram, wwDisinfectionTemp_, 8);
991991
has_bitupdate(telegram, wwChargeType_, 10, 0); // 0 = charge pump, 0xff = 3-way valve
992992

@@ -1089,7 +1089,7 @@ void Boiler::process_UBAMonitorSlow(std::shared_ptr<const Telegram> telegram) {
10891089
has_update(telegram, outdoorTemp_, 0);
10901090
has_update(telegram, boilTemp_, 2);
10911091
has_update(telegram, exhaustTemp_, 4);
1092-
has_update(telegram, switchTemp_, 25); // only if there is a mixer module present
1092+
has_update(telegram, switchTemp_, 25); // only if there is a mixer module present
10931093
has_update(telegram, heatingPumpMod_, 9);
10941094
has_update(telegram, burnStarts_, 10, 3); // force to 3 bytes
10951095
has_update(telegram, burnWorkMin_, 13, 3); // force to 3 bytes
@@ -1414,7 +1414,7 @@ void Boiler::process_UBAErrorMessage(std::shared_ptr<const Telegram> telegram) {
14141414
// data: displaycode(2), errornumber(2), year, month, hour, day, minute, duration(2), src-addr
14151415
if (telegram->message_data[4] & 0x80) { // valid date
14161416

1417-
static uint32_t lastCodeDate_ = 0; // last code date
1417+
static uint32_t lastCodeDate_ = 0; // last code date
14181418
char code[3] = {0};
14191419
uint16_t codeNo = EMS_VALUE_SHORT_NOTSET;
14201420
code[0] = telegram->message_data[0];
@@ -1530,12 +1530,12 @@ void Boiler::process_HpSilentMode(std::shared_ptr<const Telegram> telegram) {
15301530
has_update(telegram, wwAltOpPrioWw_, 3); // range 30-120 minutes on Buderus WSW196i
15311531
has_update(telegram, silentMode_, 10); // enum off-auto-on
15321532
has_update(telegram, minTempSilent_, 11);
1533-
has_update(telegram, hpHystHeat_, 37); // is / 5
1534-
has_update(telegram, hpHystCool_, 35); // is / 5, maybe offset swapped with pool
1535-
has_update(telegram, hpHystPool_, 33); // is / 5
1533+
has_update(telegram, hpHystHeat_, 37); // is / 5
1534+
has_update(telegram, hpHystCool_, 35); // is / 5, maybe offset swapped with pool
1535+
has_update(telegram, hpHystPool_, 33); // is / 5
15361536
has_update(telegram, hpCircPumpWw_, 46);
1537-
has_update(telegram, silentFrom_, 52); // in steps of 15 min
1538-
has_update(telegram, silentTo_, 53); // in steps of 15 min
1537+
has_update(telegram, silentFrom_, 52); // in steps of 15 min
1538+
has_update(telegram, silentTo_, 53); // in steps of 15 min
15391539
}
15401540

15411541
// Boiler(0x08) -B-> All(0x00), ?(0x0488), data: 8E 00 00 00 00 00 01 03
@@ -1556,7 +1556,7 @@ void Boiler::process_HpAdditionalHeater(std::shared_ptr<const Telegram> telegram
15561556
has_update(telegram, manDefrost_, 0); // off/on
15571557
has_update(telegram, auxHeaterOnly_, 1);
15581558
has_update(telegram, auxHeaterOff_, 2);
1559-
has_update(telegram, auxHeatMode_, 4); // eco/comfort
1559+
has_update(telegram, auxHeatMode_, 4); // eco/comfort
15601560
has_update(telegram, tempParMode_, 5);
15611561
has_update(telegram, auxMaxLimit_, 14); // is * 10
15621562
has_update(telegram, auxLimitStart_, 15); // is * 10
@@ -2131,6 +2131,7 @@ bool Boiler::set_tapwarmwater_activated(const char * value, const int8_t id) {
21312131
wwTapActivated_ = 1;
21322132
}
21332133

2134+
// LOG_INFO("calling EMS_TYPE_UBAFunctionTest with %d", v);
21342135
write_command(EMS_TYPE_UBAFunctionTest, 0, message_data, sizeof(message_data), 0);
21352136

21362137
return true;

0 commit comments

Comments
 (0)