0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-05-18 16:01:18 +03:00
This commit is contained in:
OneOfEleven 2023-11-18 12:09:41 +00:00
parent 2b38916886
commit fb9fdd6921
3 changed files with 2 additions and 2 deletions

View File

@ -1038,8 +1038,8 @@ void MAIN_Key_UP_DOWN(bool key_pressed, bool key_held, scan_state_dir_t directio
freq += g_scan_initial_step_size * direction; freq += g_scan_initial_step_size * direction;
// wrap-a-round // wrap-a-round
if (key_held) // if (key_held)
{ // key is held down {
while (freq >= g_scan_initial_upper) while (freq >= g_scan_initial_upper)
freq -= g_scan_initial_upper - g_scan_initial_lower; freq -= g_scan_initial_upper - g_scan_initial_lower;
while (freq < g_scan_initial_lower) while (freq < g_scan_initial_lower)

Binary file not shown.

Binary file not shown.