mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-04-28 22:31:25 +03:00
fixed long-press-*/scan beeps
This commit is contained in:
parent
d3000206d6
commit
a77d8d3710
14
app/main.c
14
app/main.c
@ -753,13 +753,7 @@ void MAIN_Key_STAR(bool key_pressed, bool key_held)
|
|||||||
|
|
||||||
ACTION_Scan(false);
|
ACTION_Scan(false);
|
||||||
|
|
||||||
g_beep_to_play = BEEP_1KHZ_60MS_OPTIONAL;
|
// g_beep_to_play = BEEP_1KHZ_60MS_OPTIONAL;
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (g_scan_state_dir != SCAN_STATE_DIR_OFF || g_current_function == FUNCTION_TRANSMIT)
|
|
||||||
{ // RF scanning or TX'ing
|
|
||||||
g_beep_to_play = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -769,6 +763,12 @@ void MAIN_Key_STAR(bool key_pressed, bool key_held)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_scan_state_dir != SCAN_STATE_DIR_OFF || g_current_function == FUNCTION_TRANSMIT)
|
||||||
|
{ // RF scanning or TX'ing
|
||||||
|
// g_beep_to_play = BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!g_fkey_pressed)
|
if (!g_fkey_pressed)
|
||||||
{ // pressed without the F-key
|
{ // pressed without the F-key
|
||||||
|
|
||||||
|
BIN
firmware.bin
Normal file
BIN
firmware.bin
Normal file
Binary file not shown.
BIN
firmware.packed.bin
Normal file
BIN
firmware.packed.bin
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user