fix: 'hf mf chk'

Dictionary files will load wrong if they exceed 256lines.
This commit is contained in:
Iceman 2017-04-26 19:52:03 +02:00 committed by GitHub
parent 0781d38e7a
commit 08cc2c36d8

View file

@ -1081,7 +1081,7 @@ int CmdHF14AMfChk(const char *Cmd) {
char filename[FILE_PATH_SIZE]={0}; char filename[FILE_PATH_SIZE]={0};
char buf[13]; char buf[13];
uint8_t *keyBlock = NULL, *p; uint8_t *keyBlock = NULL, *p;
uint8_t stKeyBlock = 20; uint16_t stKeyBlock = 20;
sector_t *e_sector = NULL; sector_t *e_sector = NULL;