diff --git a/main.c b/main.c index 5b78e97..87893d2 100644 --- a/main.c +++ b/main.c @@ -1064,6 +1064,7 @@ config_t config = { /* ultra */ { -3.49, -1.82, 0.74, 0.69, -2.16, -2.23, 0.81, 0.06, -0.1, 0.82, 0.65, 1.89, 1.64, 2.24, 1.32, 1.62, 0.76, 1.77, 7.57, 7.35, }, }, .setting_frequency_30mhz = 30000000ULL * FREQ_MULTIPLIER, + .gridlines = 6, .cor_am = 0, .cor_wfm = 0, .cor_nfm = 0, diff --git a/plot.c b/plot.c index 111148e..bede836 100644 --- a/plot.c +++ b/plot.c @@ -1116,15 +1116,16 @@ draw_cell(int m, int n) c = GET_PALTETTE_COLOR(LCD_GRID_COLOR); // Draw rectangular plot (40 system ticks for all screen calls) + const int step = 2; if (trace_type & RECTANGULAR_GRID_MASK) { for (x = 0; x < w; x++) { if (rectangular_grid_x(x + x0)) { - for (y = 0; y < h; y++) cell_buffer[y * CELLWIDTH + x] = c; + for (y = 0; y < h; y+=step) cell_buffer[y * CELLWIDTH + x] = c; } } for (y = 0; y < h; y++) { if (rectangular_grid_y(y + y0)) { - for (x = 0; x < w; x++) + for (x = 0; x < w; x+=step) if ((uint32_t)(x + x0 - CELLOFFSETX) <= WIDTH) cell_buffer[y * CELLWIDTH + x] = c; } diff --git a/si4468.c b/si4468.c index a415669..42a0d1f 100644 --- a/si4468.c +++ b/si4468.c @@ -536,7 +536,6 @@ void ADF4351_spur_mode(int S) void ADF4351_R_counter(int new_R) { - return; if (new_R == old_R) return; old_R = new_R;