mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
Use ARRAYLEN
This commit is contained in:
parent
da09131aa3
commit
1147c9faf8
5 changed files with 7 additions and 7 deletions
|
@ -431,7 +431,7 @@ int EPA_PACE_MSE_Set_AT(pace_version_info_t pace_version_info, uint8_t password)
|
|||
// Perform the PACE protocol by replaying given APDUs
|
||||
//-----------------------------------------------------------------------------
|
||||
void EPA_PACE_Replay(PacketCommandNG *c) {
|
||||
uint32_t timings[sizeof(apdu_lengths_replay) / sizeof(apdu_lengths_replay[0])] = {0};
|
||||
uint32_t timings[ARRAYLEN(apdu_lengths_replay)] = {0};
|
||||
|
||||
// if an APDU has been passed, save it
|
||||
if (c->oldarg[0] != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue