mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
generalize KEYS_IN_BLOCK usage
This commit is contained in:
parent
b7e3806eff
commit
645a4e9d1d
3 changed files with 6 additions and 7 deletions
|
@ -1932,7 +1932,7 @@ static int CmdHF14AMfChk(const char *Cmd) {
|
|||
|
||||
|
||||
uint8_t trgKeyType = 0;
|
||||
uint16_t max_keys = keycnt > ((PM3_CMD_DATA_SIZE - 4) / 6) ? ((PM3_CMD_DATA_SIZE - 4) / 6) : keycnt;
|
||||
uint16_t max_keys = keycnt > KEYS_IN_BLOCK ? KEYS_IN_BLOCK : keycnt;
|
||||
|
||||
// time
|
||||
uint64_t t1 = msclock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue