chg: @piwi's code cleanup and some more.

ref: https://github.com/Proxmark/proxmark3/commit/43534cbad22da2db2e1b59f9e08f0cadfe0d8d54
This commit is contained in:
iceman1001 committed 2017-02-23 00:03:10 +01:00
1 parent b4762e2712
commit 9c624f67b3
31 files changed
+176 -183

No files matched your search

+1 -1
View File
@@ -527,7 +527,7 @@ int CmdLegicRdmem(const char *Cmd) {
// int phase, int frame, int reqresp
int CmdLegicRfSim(const char *Cmd) {
UsbCommand c = {CMD_SIMULATE_TAG_LEGIC_RF, {6,3,0}};
sscanf(Cmd, " %"lli" %"lli" %"lli, &c.arg[0], &c.arg[1], &c.arg[2]);
sscanf(Cmd, " %" SCNi64 " %" SCNi64 " %" SCNi64 , &c.arg[0], &c.arg[1], &c.arg[2]);
clearCommandBuffer();
SendCommand(&c);
return 0;