more ARRAYLEN

This commit is contained in:
Philippe Teuwen 2019-08-01 00:14:09 +02:00
commit 733a7d836d
12 changed files with 20 additions and 20 deletions

View file

@ -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;