make style

This commit is contained in:
Ray Lee 2021-08-24 16:22:55 +08:00
parent cc3e2cc3a9
commit 3c51ee4547

View file

@ -696,15 +696,15 @@ static int CmdHF14ADesInfo(const char *Cmd) {
if (card.sak == 0x20) {
if (card.ats_len >= 5) {
if (!memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) {
if (0 == memcmp(card.ats + 1, STANDALONE_DESFIRE, 4)) {
PrintAndLogEx(INFO, "Standalone DESFire");
}
if (!memcmp(card.ats + 1, JCOP_DESFIRE, 4)) {
if (0 == memcmp(card.ats + 1, JCOP_DESFIRE, 4)) {
PrintAndLogEx(INFO, "JCOP DESFire");
}
}
if (card.ats_len == 4) {
if (!memcmp(card.ats + 1, JCOP3_DESFIRE, 4)) {
if (0 == memcmp(card.ats + 1, JCOP3_DESFIRE, 4)) {
PrintAndLogEx(INFO, "JCOP3 DESFire");
}
}