Fix external flash sanity check in prevision of pm5

This commit is contained in:
Philippe Teuwen committed 2026-08-19 12:04:33 +02:00
1 parent 389e052ba4
commit 66c5fd8343
1 file changed
+2 -2
+2 -2
View File
@@ -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;
}