mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
more ARRAYLEN
This commit is contained in:
parent
f276dca3f1
commit
733a7d836d
12 changed files with 20 additions and 20 deletions
|
@ -227,7 +227,7 @@ static int CmdHFMFPInitPerso(const char *cmd) {
|
|||
}
|
||||
|
||||
mfpSetVerboseMode(verbose);
|
||||
for (int i = 0; i < sizeof(CardAddresses) / 2; i++) {
|
||||
for (int i = 0; i < ARRAYLEN(CardAddresses); i++) {
|
||||
keyNum[0] = CardAddresses[i] >> 8;
|
||||
keyNum[1] = CardAddresses[i] & 0xff;
|
||||
res = MFPWritePerso(keyNum, key, false, true, data, sizeof(data), &datalen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue