FIX: Mental note to self, bitnumber 4 is used, not the value 4 which would be bitnumber 3... when deciding if request is REQB or WUPB

This commit is contained in:
iceman1001 2016-04-27 19:54:29 +02:00
parent 0923c43cc6
commit a644fef0bb

View file

@ -277,7 +277,7 @@ void annotateIso14443b(char *exp, size_t size, uint8_t* cmd, uint8_t cmdsize)
default: snprintf(exp, size,"16 slots ");break;
}
if ( (cmd[2] & 0x4) )
if ( (cmd[2] & 0x8) )
snprintf(exp, size,"REQB");
else
snprintf(exp, size,"WUPB");