mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
more ARRAYLEN
This commit is contained in:
parent
f276dca3f1
commit
733a7d836d
12 changed files with 20 additions and 20 deletions
|
@ -870,7 +870,7 @@ static int CmdBitsamples(const char *Cmd) {
|
|||
return PM3_ETIMEOUT;
|
||||
}
|
||||
|
||||
for (size_t j = 0; j < sizeof(got); j++) {
|
||||
for (size_t j = 0; j < ARRAYLEN(got); j++) {
|
||||
for (uint8_t k = 0; k < 8; k++) {
|
||||
if (got[j] & (1 << (7 - k)))
|
||||
GraphBuffer[cnt++] = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue