mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
Menu play + reduce AM AGC hysteresis very slightly.
This commit is contained in:
parent
fc1bc8791c
commit
c3c344daec
2
am_fix.c
2
am_fix.c
@ -438,7 +438,7 @@ const uint8_t orig_pga = 6; // -3dB
|
||||
}
|
||||
}
|
||||
|
||||
if (diff_dB >= -4) // 4dB hysterisis (help reduce gain hunting)
|
||||
if (diff_dB >= -3) // 3dB hysterisis (help reduce gain hunting)
|
||||
hold_counter[vfo] = 30; // 300ms hold
|
||||
|
||||
if (hold_counter[vfo] == 0)
|
||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
10
ui/menu.c
10
ui/menu.c
@ -352,6 +352,7 @@ void UI_DisplayMenu(void)
|
||||
|
||||
// draw the left menu list
|
||||
#if 0
|
||||
|
||||
for (i = 0; i < 3; i++)
|
||||
if (gMenuCursor > 0 || i > 0)
|
||||
if ((gMenuListCount - 1) != gMenuCursor || i != 2)
|
||||
@ -363,6 +364,11 @@ void UI_DisplayMenu(void)
|
||||
gFrameBuffer[2][i] ^= 0xFF;
|
||||
gFrameBuffer[3][i] ^= 0xFF;
|
||||
}
|
||||
|
||||
// draw vertical separating dotted line
|
||||
for (i = 0; i < 7; i++)
|
||||
gFrameBuffer[i][(8 * menu_list_width) + 1] = 0xAA;
|
||||
|
||||
#else
|
||||
{
|
||||
const int menu_index = gMenuCursor; // current selected menu item
|
||||
@ -395,10 +401,6 @@ void UI_DisplayMenu(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
// draw vertical separating dotted line
|
||||
for (i = 0; i < 7; i++)
|
||||
gFrameBuffer[i][(8 * menu_list_width) + 1] = 0xAA;
|
||||
|
||||
// draw the menu index number/count
|
||||
sprintf(String, "%2u.%u", 1 + gMenuCursor, gMenuListCount);
|
||||
UI_PrintStringSmall(String, 8, 0, 6);
|
||||
|
Loading…
x
Reference in New Issue
Block a user