From f3cbb7bc7b759f634d142c4ba6d2add74935daca Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 15 Jun 2016 09:22:55 +0200 Subject: [PATCH] CHG: wrong minor version value. 0x1 -> 0x0 for desfire ev1 detection --- client/cmdhfmfdes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/cmdhfmfdes.c b/client/cmdhfmfdes.c index 8c272a7f..a0059233 100644 --- a/client/cmdhfmfdes.c +++ b/client/cmdhfmfdes.c @@ -250,7 +250,7 @@ char * GetVersionStr(uint8_t major, uint8_t minor){ if ( major == 0x00) sprintf(retStr,"%d.%d (Desfire MF3ICD40)", major, minor); - else if ( major == 0x01 && minor == 0x01) + else if ( major == 0x01 && minor == 0x00) sprintf(retStr,"%d.%d (Desfire EV1)", major, minor); else if ( major == 0x12 && minor == 0x00) sprintf(retStr,"%d.%d (Desfire EV2)", major, minor); -- 2.39.5