CHG: the new NTAG_i2c_1K enums, broke the uint16_t size.. Had to go up one level.

This commit is contained in:
iceman1001 2015-05-20 19:26:11 +02:00
parent 05f7accdbb
commit 623db3559b
3 changed files with 4 additions and 4 deletions

View file

@ -177,7 +177,7 @@ int CmdHF14AReader(const char *Cmd)
//***************************************test****************
ul_switch_off_field();
uint16_t tagT = GetHF14AMfU_Type();
uint32_t tagT = GetHF14AMfU_Type();
ul_print_type(tagT, 0);
//reconnect for further tests

View file

@ -359,7 +359,7 @@ int ul_print_type(uint16_t tagtype, uint8_t spaces){
else if ( tagtype & MY_D_MOVE_NFC )
PrintAndLog("%sTYPE : INFINEON my-d\x99 move NFC", spacer);
else
PrintAndLog("%sTYPE : Unknown %04x", spacer, tagtype);
PrintAndLog("%sTYPE : Unknown %06x", spacer, tagtype);
return 0;
}
@ -509,7 +509,7 @@ static int ul_magic_test(){
return UNKNOWN;
}
uint16_t GetHF14AMfU_Type(void){
uint32_t GetHF14AMfU_Type(void){
TagTypeUL_t tagtype = UNKNOWN;
iso14a_card_select_t card;

View file

@ -16,7 +16,7 @@ int CmdHF14AMfucAuth(const char *Cmd);
//general stuff
int CmdHF14AMfUDump(const char *Cmd);
int CmdHF14AMfUInfo(const char *Cmd);
uint16_t GetHF14AMfU_Type(void);
uint32_t GetHF14AMfU_Type(void);
int ul_print_type(uint16_t tagtype, uint8_t spacer);
void ul_switch_off_field(void);