plot: allow float values for grid
This commit is contained in:
@@ -1448,7 +1448,7 @@ void setClockGrid(uint32_t clk, int offset) {
|
||||
}
|
||||
|
||||
int CmdGrid(const char *Cmd) {
|
||||
sscanf(Cmd, "%i %i", &PlotGridX, &PlotGridY);
|
||||
sscanf(Cmd, "%lf %lf", &PlotGridX, &PlotGridY);
|
||||
PlotGridXdefault = PlotGridX;
|
||||
PlotGridYdefault = PlotGridY;
|
||||
RepaintGraphWindow();
|
||||
|
||||
Reference in New Issue
Block a user