Fix bootloader version discovery and tolerate legacy OTA probes
This commit is contained in:
1 parent
aab46c7c84
commit
e5f8eb46a3
12 files changed
+723
-36
No files matched your search
@@ -4675,7 +4675,7 @@ void CommonCLI::handleGetCmd(uint32_t sender_timestamp, char* command, char* rep
|
||||
#endif
|
||||
} else if (configKeyEquals(config, "bootloader.ver")) {
|
||||
#ifdef NRF52_PLATFORM
|
||||
char ver[32];
|
||||
char ver[128]; // preserve preview/fork/build suffixes without truncation
|
||||
if (_board->getBootloaderVersion(ver, sizeof(ver))) {
|
||||
sprintf(reply, "> %s", ver);
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user