Merge branch 'master' into new-equitherm

This commit is contained in:
Yurii
2025-05-21 01:20:55 +03:00

View File

@@ -687,19 +687,17 @@ protected:
targetMaxModulation = settings.dhw.maxModulation; targetMaxModulation = settings.dhw.maxModulation;
} }
if (vars.slave.modulation.max != targetMaxModulation) { if (this->setMaxModulationLevel(targetMaxModulation)) {
if (this->setMaxModulationLevel(targetMaxModulation)) { Log.snoticeln(
Log.snoticeln( FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"),
FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"), targetMaxModulation, vars.slave.modulation.max
targetMaxModulation, vars.slave.modulation.max );
);
} else { } else {
Log.swarningln( Log.swarningln(
FPSTR(L_OT), F("Failed set max modulation: %hhu%% (response: %hhu%%)"), FPSTR(L_OT), F("Failed set max modulation: %hhu%% (response: %hhu%%)"),
targetMaxModulation, vars.slave.modulation.max targetMaxModulation, vars.slave.modulation.max
); );
}
} }
// Update modulation level // Update modulation level