\r
static void CmdGrid(char *str)\r
{\r
- int x = 0, y = 0;\r
- sscanf(str, "%i %i", &x, &y);\r
- SetGraphGrid(x, y);\r
+ sscanf(str, "%i %i", &PlotGridX, &PlotGridY);\r
RepaintGraphWindow();\r
}\r
\r
{"flexdemod", CmdFlexdemod, 1, "Demodulate samples for FlexPass"},\r
{"fpgaoff", CmdFPGAOff, 0, "Set FPGA off"},\r
{"fskdemod", CmdFSKdemod, 1, "Demodulate graph window as a HID FSK"},\r
- {"grid", CmdGrid, 1, "grid x y, overlay grid on graph window, use zero value to turn off either"},\r
+ {"grid", CmdGrid, 1, "<x> <y> -- overlay grid on graph window, use zero value to turn off either"},\r
{"hexsamples", CmdHexsamples, 0, "<blocks> -- Dump big buffer as hex bytes"},\r
{"hi14alist", CmdHi14alist, 0, "List ISO 14443a history"},\r
{"hi14areader", CmdHi14areader, 0, "Act like an ISO14443 Type A reader"},\r