0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-08-03 01:26:33 +03:00

panadapter update

This commit is contained in:
OneOfEleven
2023-11-19 09:13:21 +00:00
parent 0fb4aee4d4
commit 3a181bed44
4 changed files with 13 additions and 3 deletions

View File

@@ -482,12 +482,12 @@ void big_freq(const uint32_t frequency, const unsigned int x, const unsigned int
}
// center marker (the VFO frequency)
base_line[(ARRAY_SIZE(g_panadapter_rssi) / 2) - (LCD_WIDTH * 2)] = 0xAA;
base_line[PANADAPTER_BINS - (LCD_WIDTH * 2)] = 0x07;
// top horizontal line
for (i = 0; i < PANADAPTER_BINS; i += 4)
{
const unsigned int k = PANADAPTER_BINS + 1 - (LCD_WIDTH * 2);
const unsigned int k = PANADAPTER_BINS - (LCD_WIDTH * 2);
base_line[k - i] |= 1u;
base_line[k + i] |= 1u;
}