fix leftover oldargs

This commit is contained in:
iceman1001 committed 2026-08-29 17:06:24 +02:00
1 parent 87b5ee37c9
commit 1ee41ecf95
4 files changed
+4 -11

No files matched your search

+1
View File
@@ -937,6 +937,7 @@ static int dumpmem_pm3(char *serial_port_name, const char *filename, uint32_t ad
PrintAndLogEx(ERR, "Could not get device info.");
goto finish2;
}
// bootrom path: CMD_DEVICE_INFO is served by bootrom.c, which only speaks OLD frames
uint32_t dev_info = resp.oldarg[0];
in_bootloader = (dev_info & DEVICE_INFO_FLAG_CURRENT_MODE_BOOTROM) != 0;
if (in_bootloader) {