From: merlokk Date: Thu, 9 Nov 2017 20:01:00 +0000 (+0200) Subject: eliminate double DropField command X-Git-Tag: v3.1.0~133^2~1 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/86a1c1dc252076f6c5d678f172df9ff116bea50d eliminate double DropField command --- diff --git a/client/cmdhfmfu.c b/client/cmdhfmfu.c index 3021631a..c95fa20b 100644 --- a/client/cmdhfmfu.c +++ b/client/cmdhfmfu.c @@ -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); diff --git a/client/cmdhfmfu.h b/client/cmdhfmfu.h index 6c9e3ea1..a5e9f95c 100644 --- a/client/cmdhfmfu.h +++ b/client/cmdhfmfu.h @@ -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);