1 Commits

Author SHA1 Message Date
Yurii
d88bd19b1a Merge 0bb05006f4 into 0e78e71493 2025-05-19 23:45:38 +03:00

View File

@@ -687,17 +687,19 @@ protected:
targetMaxModulation = settings.dhw.maxModulation; targetMaxModulation = settings.dhw.maxModulation;
} }
if (this->setMaxModulationLevel(targetMaxModulation)) { if (vars.slave.modulation.max != targetMaxModulation) {
Log.snoticeln( if (this->setMaxModulationLevel(targetMaxModulation)) {
FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"), Log.snoticeln(
targetMaxModulation, vars.slave.modulation.max FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"),
); 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