]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
eliminate double DropField command
authormerlokk <olegmsn@gmail.com>
Thu, 9 Nov 2017 20:01:00 +0000 (22:01 +0200)
committermerlokk <olegmsn@gmail.com>
Thu, 9 Nov 2017 20:01:00 +0000 (22:01 +0200)
client/cmdhfmfu.c
client/cmdhfmfu.h

index 3021631ac358a5485f02f8a2585703ed5f85f75d..c95fa20b9eb1e8fb5ff404a3f98bd33e4350a814 100644 (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);
index 6c9e3ea1b66834d54b6e166c51f6e5a4d326b4c7..a5e9f95c179ff61452bfeba1b7e41a1780d60f3d 100644 (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);
Impressum, Datenschutz