mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
hf mf cview/csave: fix mfc 4k bug
This commit is contained in:
parent
5d357a6039
commit
7b763353f7
1 changed files with 2 additions and 2 deletions
|
@ -4334,7 +4334,7 @@ static int CmdHF14AMfCSave(const char *Cmd) {
|
|||
bool fillEmulator = false;
|
||||
bool errors = false, hasname = false, useuid = false;
|
||||
int i, len, flags;
|
||||
uint8_t numblocks = 0, cmdp = 0;
|
||||
uint16_t numblocks = 0, cmdp = 0;
|
||||
uint16_t bytes = 0;
|
||||
|
||||
while (param_getchar(Cmd, cmdp) != 0x00 && !errors) {
|
||||
|
@ -4464,7 +4464,7 @@ static int CmdHF14AMfCView(const char *Cmd) {
|
|||
int flags;
|
||||
char ctmp = '1';
|
||||
uint8_t cmdp = 0;
|
||||
uint8_t numblocks = NumOfBlocks(ctmp);
|
||||
uint16_t numblocks = NumOfBlocks(ctmp);
|
||||
uint16_t bytes = numblocks * MFBLOCK_SIZE;
|
||||
|
||||
while (param_getchar(Cmd, cmdp) != 0x00 && !errors) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue