mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
use correct define
This commit is contained in:
parent
e5d2fc3fa7
commit
3d91806b5b
1 changed files with 1 additions and 1 deletions
|
@ -7353,7 +7353,7 @@ static int CmdHF14AMfView(const char *Cmd) {
|
|||
// read dump file
|
||||
uint8_t *dump = NULL;
|
||||
size_t bytes_read = 0;
|
||||
int res = pm3_load_dump(filename, (void **)&dump, &bytes_read, (MFBLOCK_SIZE * MIFARE_4K_MAXBLOCK));
|
||||
int res = pm3_load_dump(filename, (void **)&dump, &bytes_read, MIFARE_4K_MAX_BYTES);
|
||||
if (res != PM3_SUCCESS) {
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue