From 29573f1ac5cfdef4468d18e397ceab4230a0dfda Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 20 Oct 2019 06:23:57 -0400 Subject: [PATCH] fix --- client/mifare/mad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/mifare/mad.c b/client/mifare/mad.c index 5cf3e1852..fe41ac032 100644 --- a/client/mifare/mad.c +++ b/client/mifare/mad.c @@ -181,7 +181,7 @@ int MADCheck(uint8_t *sector0, uint8_t *sector10, bool verbose, bool *haveMAD2) if (!res) res = res2; - if (verbose & !res2) + if (verbose && !res2) PrintAndLogEx(NORMAL, "CRC8-MAD2 OK."); }