X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/288c6845a7acf5afd2daa7f158fedc4e8e0e0ff8..5b4664e79f6b6a6e1e8dc2ae0284cab948e25b09:/client/cmdhfmfdes.c diff --git a/client/cmdhfmfdes.c b/client/cmdhfmfdes.c index e30407af..a0059233 100644 --- a/client/cmdhfmfdes.c +++ b/client/cmdhfmfdes.c @@ -248,11 +248,11 @@ char * GetVersionStr(uint8_t major, uint8_t minor){ static char buf[30] = {0x00}; char *retStr = buf; - if ( major == 0) + if ( major == 0x00) sprintf(retStr,"%d.%d (Desfire MF3ICD40)", major, minor); - else if ( major == 1 && minor == 1) + else if ( major == 0x01 && minor == 0x00) sprintf(retStr,"%d.%d (Desfire EV1)", major, minor); - else if ( major == 1 && minor == 2) + else if ( major == 0x12 && minor == 0x00) sprintf(retStr,"%d.%d (Desfire EV2)", major, minor); else sprintf(retStr,"%d.%d (Unknown)", major, minor);