diff --git a/firmware.bin b/firmware.bin index b882252..0e21215 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index 9f292db..2e965a0 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ diff --git a/ui/main.c b/ui/main.c index d7752d6..981e941 100644 --- a/ui/main.c +++ b/ui/main.c @@ -463,12 +463,18 @@ void big_freq(const uint32_t frequency, const unsigned int x, const unsigned int // draw top center vertical marker (the VFO frequency) base_line[PANADAPTER_BINS - (LCD_WIDTH * 2)] = 0x3F; - // draw top horizontal dotted line - for (i = 0; i < PANADAPTER_BINS; i += 4) - { - const unsigned int k = PANADAPTER_BINS - (LCD_WIDTH * 2); - base_line[k - i] |= 1u; - base_line[k + i] |= 1u; + { // draw top & bottom horizontal dotted line + const unsigned int top = PANADAPTER_BINS - (LCD_WIDTH * 2); + const unsigned int bot = PANADAPTER_BINS - (LCD_WIDTH * 0); + for (i = 0; i < PANADAPTER_BINS; i += 4) + { + // top line + base_line[top - i] |= 0x01; + base_line[top + i] |= 0x01; + // bottom line + base_line[bot - i] |= 0x20; + base_line[bot + i] |= 0x20; + } } // draw the panadapter vertical bins