hf mfu info bugs
This commit is contained in:
@@ -96,9 +96,10 @@ char* getUlev1CardSizeStr( uint8_t fsize ){
|
|||||||
|
|
||||||
static char buf[40];
|
static char buf[40];
|
||||||
char *retStr = buf;
|
char *retStr = buf;
|
||||||
|
memset(buf, 0, sizeof(buf));
|
||||||
|
|
||||||
uint8_t usize = 1 << ((fsize >>1) + 1);
|
uint16_t usize = 1 << ((fsize >>1) + 1);
|
||||||
uint8_t lsize = 1 << (fsize >>1);
|
uint16_t lsize = 1 << (fsize >>1);
|
||||||
|
|
||||||
// is LSB set?
|
// is LSB set?
|
||||||
if ( fsize & 1 )
|
if ( fsize & 1 )
|
||||||
@@ -885,6 +886,7 @@ int CmdHF14AMfUDump(const char *Cmd){
|
|||||||
case 's':
|
case 's':
|
||||||
swapEndian = true;
|
swapEndian = true;
|
||||||
cmdp++;
|
cmdp++;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
PrintAndLog("Unknown parameter '%c'", param_getchar(Cmd, cmdp));
|
PrintAndLog("Unknown parameter '%c'", param_getchar(Cmd, cmdp));
|
||||||
errors = true;
|
errors = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user