fix #2900 - bad compare
This commit is contained in:
1 parent
6ba00b7bee
commit
4725ae5c22
1 file changed
+1
-1
+1
-1
@@ -1596,7 +1596,7 @@ void pm3_version_short(void) {
|
||||
PrintAndLogEx(NORMAL, " Client.... %s", temp);
|
||||
|
||||
bool armsrc_mismatch = false;
|
||||
char *ptr = strstr(payload->versionstr, " os: ");
|
||||
char *ptr = strstr(payload->versionstr, "OS......... ");
|
||||
if (ptr != NULL) {
|
||||
ptr = strstr(ptr, "\n");
|
||||
if ((ptr != NULL) && (strlen(g_version_information.armsrc) == 9)) {
|
||||
|
||||
Reference in new issue
Block a user