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:
parent
2b38916886
commit
fb9fdd6921
@ -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)
|
||||||
|
BIN
firmware.bin
BIN
firmware.bin
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user