X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bd4cc2c95b3aa115d67790937d3d943a8a6546cf..ff8216cbb6dadfc67e2e6aeda86c6ee8ab90b854:/winsrc/command.cpp?ds=inline diff --git a/winsrc/command.cpp b/winsrc/command.cpp index bc9fb9dc..b830922b 100644 --- a/winsrc/command.cpp +++ b/winsrc/command.cpp @@ -2590,9 +2590,7 @@ static void CmdPlot(char *str) static void CmdGrid(char *str) { - int x = 0, y = 0; - sscanf(str, "%i %i", &x, &y); - SetGraphGrid(x, y); + sscanf(str, "%i %i", &PlotGridX, &PlotGridY); RepaintGraphWindow(); } @@ -2734,7 +2732,7 @@ static struct { {"flexdemod", CmdFlexdemod, 1, "Demodulate samples for FlexPass"}, {"fpgaoff", CmdFPGAOff, 0, "Set FPGA off"}, {"fskdemod", CmdFSKdemod, 1, "Demodulate graph window as a HID FSK"}, - {"grid", CmdGrid, 1, "grid x y, overlay grid on graph window, use zero value to turn off either"}, + {"grid", CmdGrid, 1, " -- overlay grid on graph window, use zero value to turn off either"}, {"hexsamples", CmdHexsamples, 0, " -- Dump big buffer as hex bytes"}, {"hi14alist", CmdHi14alist, 0, "List ISO 14443a history"}, {"hi14areader", CmdHi14areader, 0, "Act like an ISO14443 Type A reader"},