mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-24 09:03:35 +05:00
Compare commits
4 Commits
d88bd19b1a
...
9577dc9f6f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9577dc9f6f | ||
|
|
06c2ddcf96 | ||
|
|
8b50ed48c1 | ||
|
|
f212d9d9a8 |
@@ -687,19 +687,17 @@ protected:
|
||||
targetMaxModulation = settings.dhw.maxModulation;
|
||||
}
|
||||
|
||||
if (vars.slave.modulation.max != targetMaxModulation) {
|
||||
if (this->setMaxModulationLevel(targetMaxModulation)) {
|
||||
Log.snoticeln(
|
||||
FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"),
|
||||
targetMaxModulation, vars.slave.modulation.max
|
||||
);
|
||||
if (this->setMaxModulationLevel(targetMaxModulation)) {
|
||||
Log.snoticeln(
|
||||
FPSTR(L_OT), F("Set max modulation: %hhu%% (response: %hhu%%)"),
|
||||
targetMaxModulation, vars.slave.modulation.max
|
||||
);
|
||||
|
||||
} else {
|
||||
Log.swarningln(
|
||||
FPSTR(L_OT), F("Failed set max modulation: %hhu%% (response: %hhu%%)"),
|
||||
targetMaxModulation, vars.slave.modulation.max
|
||||
);
|
||||
}
|
||||
} else {
|
||||
Log.swarningln(
|
||||
FPSTR(L_OT), F("Failed set max modulation: %hhu%% (response: %hhu%%)"),
|
||||
targetMaxModulation, vars.slave.modulation.max
|
||||
);
|
||||
}
|
||||
|
||||
// Update modulation level
|
||||
|
||||
Reference in New Issue
Block a user