Fix external flash sanity check in prevision of pm5
This commit is contained in:
1 file changed
+2
-2
@@ -2902,8 +2902,8 @@ static int CmdDiff(const char *Cmd) {
|
||||
CLIParserFree(ctx);
|
||||
|
||||
// sanity check
|
||||
if (IfPm3Rdv4Fw() == false && (splenA > 0 || splenB > 0)) {
|
||||
PrintAndLogEx(WARNING, "No RDV4 Flashmemory available");
|
||||
if (IfPm3Flash() == false && (splenA > 0 || splenB > 0)) {
|
||||
PrintAndLogEx(WARNING, "No Flashmemory available");
|
||||
return PM3_EINVARG;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user