hw bwm upgrade: say "outdated" instead of "fail" for a differing BWM firmware
A mismatch is the normal case before an upgrade, not an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
39145ce3e7
commit
199cd05327
1 file changed
+1
-1
+1
-1
@@ -584,7 +584,7 @@ static const char *bwm_ver_tag(const char *running, const uint8_t *fw, size_t fw
|
||||
if (match == false && il > rl + 2) {
|
||||
match = (strncmp(img + il - rl - 2, "-g", 2) == 0) && (strcmp(img + il - rl, running) == 0);
|
||||
}
|
||||
return match ? " ( " _GREEN_("ok") " )" : " ( " _RED_("fail") " )";
|
||||
return match ? " ( " _GREEN_("ok") " )" : " ( " _RED_("outdated") " )";
|
||||
}
|
||||
|
||||
static int CmdBWMUpgrade(const char *Cmd) {
|
||||
|
||||
Reference in new issue
Block a user