mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-03-31 06:38:37 +05:00
Compare commits
1 Commits
9577dc9f6f
...
d88bd19b1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d88bd19b1a |
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user