more text changes to hf tesla info

This commit is contained in:
iceman1001 2023-03-05 08:21:09 +01:00
commit 47908df32e

View file

@ -202,7 +202,9 @@ static int info_hf_tesla(void) {
PrintAndLogEx(INFO, "%d - %s", i, sprint_hex_inrow(pk[i], 65));
}
PrintAndLogEx(INFO, "Form factor... %s " NOLF, sprint_hex_inrow(form_factor, sizeof(form_factor)));
uint16_t form_factor_value = form_factor[0] << 8 | form_factor[1];
uint16_t form_factor_value = MemBeToUint2byte(form_factor);
switch (form_factor_value) {
case 0x0001:
PrintAndLogEx(NORMAL, "( card )");
@ -249,7 +251,6 @@ static int CmdHFTeslaInfo(const char *Cmd) {
return info_hf_tesla();
}
static int CmdHFTeslaList(const char *Cmd) {
return CmdTraceListAlias(Cmd, "hf tesla", "7816");
}