eliminate double DropField command

This commit is contained in:
merlokk 2017-11-09 22:01:00 +02:00
commit 86a1c1dc25
2 changed files with 1 additions and 7 deletions

View file

@ -113,12 +113,6 @@ static void ul_switch_on_field(void) {
SendCommand(&c);
}
void ul_switch_off_field(void) {
UsbCommand c = {CMD_READER_ISO_14443a, {0, 0, 0}};
clearCommandBuffer();
SendCommand(&c);
}
static int ul_send_cmd_raw( uint8_t *cmd, uint8_t cmdlen, uint8_t *response, uint16_t responseLength ) {
UsbCommand c = {CMD_READER_ISO_14443a, {ISO14A_RAW | ISO14A_NO_DISCONNECT | ISO14A_APPEND_CRC, cmdlen, 0}};
memcpy(c.d.asBytes, cmd, cmdlen);

View file

@ -16,7 +16,7 @@ int CmdHF14AMfUInfo(const char *Cmd);
uint32_t GetHF14AMfU_Type(void);
int ul_print_type(uint32_t tagtype, uint8_t spacer);
void ul_switch_off_field(void);
#define ul_switch_off_field DropField
int usage_hf_mfu_dump(void);
int usage_hf_mfu_info(void);