mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Use ARRAYLEN
This commit is contained in:
parent
da09131aa3
commit
1147c9faf8
5 changed files with 7 additions and 7 deletions
|
@ -1244,7 +1244,7 @@ static int CmdHF15Restore(const char *Cmd) {
|
|||
for (int j = 0; j < blocksize; j++)
|
||||
snprintf(hex + j * 2, 3, "%02X", buff[j]);
|
||||
|
||||
for (int j = 0; j < sizeof(uid) / sizeof(uid[0]); j++)
|
||||
for (int j = 0; j < ARRAYLEN(uid); j++)
|
||||
snprintf(buff + j * 2, 3, "%02X", uid[j]);
|
||||
|
||||
//TODO: Addressed mode currently not work
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue