]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: textual changes.
authoriceman1001 <iceman@iuse.se>
Thu, 5 Jan 2017 14:56:52 +0000 (15:56 +0100)
committericeman1001 <iceman@iuse.se>
Thu, 5 Jan 2017 14:56:52 +0000 (15:56 +0100)
CHG: remove unused #includes  and added some comments

client/cmdlffdx.c
client/cmdlffdx.h

index 58c2cb7c5476f4bd6fd3747ec11e5dd4aaa55956..bc67ade5f2b4bf9f213cbeed0b27e4b0fe1a81ed 100644 (file)
@@ -335,8 +335,8 @@ static command_t CommandTable[] = {
     {"help",   CmdHelp,        1, "This help"},
        {"demod",       CmdFdxDemod,1, "Attempt extract tag data from graphbuf"},
        {"read",        CmdFdxRead,     0, "Attempt to read and extract tag data"},
-       {"clone",       CmdFdxClone,0, "clone animal ID tag"},
-       {"sim",         CmdFdxSim,      0, "simulate animal ID tag"},
+       {"clone",       CmdFdxClone,0, "Clone animal ID tag to T55x7"},
+       {"sim",         CmdFdxSim,      0, "Animal ID tag simulator"},
     {NULL, NULL, 0, NULL}
 };
 
index 4f5026105009a0f6c3f3d302e5d830155422d78f..4960b22028d88c4e1d61d9f24482bd3bad7d29cc 100644 (file)
@@ -8,28 +8,23 @@
 //-----------------------------------------------------------------------------
 #ifndef CMDLFFDX_H__
 #define CMDLFFDX_H__
-#include <string.h>
-#include <inttypes.h>
-#include <math.h>
-#include "proxmark3.h"
-#include "ui.h"
-#include "util.h"
-#include "graph.h"
+#include "proxmark3.h" // Definitions, USB controls, etc
+#include "ui.h"                        // PrintAndLog
+#include "util.h"       // weigandparity
 #include "cmdparser.h"
 #include "cmddata.h"
 #include "cmdmain.h"
-#include "cmdlf.h"
+#include "cmdlf.h"             // lf read
 #include "crc16.h"             // for checksum crc-16_ccitt
 #include "protocols.h"  // for T55xx config register definitions
-#include "lfdemod.h"    // parityTest
+#include "lfdemod.h"    // parityTest   
+
 int CmdLFFdx(const char *Cmd);
 int CmdFdxClone(const char *Cmd);
 int CmdFdxSim(const char *Cmd);
 int CmdFdxRead(const char *Cmd);
 int CmdFdxDemod(const char *Cmd);
-
 int getFDXBits(uint64_t national_id, uint16_t country, uint8_t isanimal, uint8_t isextended, uint32_t extended, uint8_t *bits);
-
 int usage_lf_fdx_clone(void);
 int usage_lf_fdx_sim(void);
 int usage_lf_fdx_read(void);
Impressum, Datenschutz