mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-09 03:00:07 -04:00
small fix
This commit is contained in:
@@ -388,8 +388,8 @@ void CIPURSEPrintART(uint8_t *artrec, size_t artlen) {
|
||||
else
|
||||
PrintAndLogEx(INFO, "key %d : " NOLF, i);
|
||||
|
||||
for (int n = 0; n < 8; n++)
|
||||
if ((artrec[i] >> n) && 0x01)
|
||||
for (int n = 7; n >= 0; n--)
|
||||
if ((artrec[i] >> n) & 0x01)
|
||||
PrintAndLogEx(NORMAL, "%d " NOLF, n + 1);
|
||||
else
|
||||
PrintAndLogEx(NORMAL, " " NOLF);
|
||||
|
||||
Reference in New Issue
Block a user