small fix

This commit is contained in:
merlokk 2022-02-02 23:15:53 +02:00
commit 8318afdb60

View file

@ -388,8 +388,8 @@ void CIPURSEPrintART(uint8_t *artrec, size_t artlen) {
else else
PrintAndLogEx(INFO, "key %d : " NOLF, i); PrintAndLogEx(INFO, "key %d : " NOLF, i);
for (int n = 0; n < 8; n++) for (int n = 7; n >= 0; n--)
if ((artrec[i] >> n) && 0x01) if ((artrec[i] >> n) & 0x01)
PrintAndLogEx(NORMAL, "%d " NOLF, n + 1); PrintAndLogEx(NORMAL, "%d " NOLF, n + 1);
else else
PrintAndLogEx(NORMAL, " " NOLF); PrintAndLogEx(NORMAL, " " NOLF);