Fix G3 gain transitions, slot commands and radio restore
This commit is contained in:
1 parent
015eff4c22
commit
22ab02caf7
11 files changed
+933
-21
No files matched your search
@@ -5411,6 +5411,11 @@ void CommonCLI::handleSetCmd(uint32_t sender_timestamp, char* command, char* rep
|
||||
}
|
||||
#else
|
||||
strcpy(reply, "Error: extra.sf requires an LR2021 radio");
|
||||
#endif
|
||||
#if defined(STATION_G3_ESP32)
|
||||
} else if (_board->handleCommand(command, sender_timestamp, reply)) {
|
||||
// Board-specific settings come after the shared validation/ownership gates.
|
||||
if (_prefs->isDirty()) savePrefs();
|
||||
#endif
|
||||
} else {
|
||||
strcpy(reply, "unknown config");
|
||||
@@ -5941,6 +5946,10 @@ void CommonCLI::handleGetCmd(uint32_t sender_timestamp, char* command, char* rep
|
||||
}
|
||||
#else
|
||||
strcpy(reply, "Error: extra.sf requires an LR2021 radio");
|
||||
#endif
|
||||
#if defined(STATION_G3_ESP32)
|
||||
} else if (_board->handleCommand(command, sender_timestamp, reply)) {
|
||||
// A board getter must not persist unrelated pending preferences.
|
||||
#endif
|
||||
} else {
|
||||
mesh::cli::formatUnknownSetting(reply, 160, config);
|
||||
|
||||
Reference in new issue
Block a user