Update cmdhficlass.c

Fixed indent

Signed-off-by: Antiklesys <syselkitna@gmail.com>
This commit is contained in:
Antiklesys 2025-06-20 12:02:25 +08:00 committed by GitHub
commit e0b1b5b4f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6035,9 +6035,8 @@ static int CmdHFiClassSAM(const char *Cmd) {
} else { } else {
//if it is an error decode it //if it is an error decode it
if (memcmp(d, "\xBE\x07\x80\x01", 4) == 0) { //if it the string is 0xbe 0x07 0x80 0x01 the next byte will indicate the error code if (memcmp(d, "\xBE\x07\x80\x01", 4) == 0) { //if it the string is 0xbe 0x07 0x80 0x01 the next byte will indicate the error code
PrintAndLogEx(ERR,_RED_("Sam Error Code: %02x"), d[4]); PrintAndLogEx(ERR,_RED_("Sam Error Code: %02x"), d[4]);
print_hex(d, resp.length); print_hex(d, resp.length);
}else{ }else{
uint8_t pattern[] = {0xBD, 0x81, 0xFF, 0x8A, 0x81, 0xFF}; // 0xFF is a placeholder for the length message uint8_t pattern[] = {0xBD, 0x81, 0xFF, 0x8A, 0x81, 0xFF}; // 0xFF is a placeholder for the length message
bool mask[] = {true, true, false, true, true, false}; // false means wildcard bool mask[] = {true, true, false, true, true, false}; // false means wildcard