0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

Fixed boot beep compile problem

This commit is contained in:
OneOfEleven
2023-09-18 11:54:42 +01:00
parent 784a4dd79f
commit ed33d14c0f
12 changed files with 35 additions and 45 deletions

View File

@ -1200,10 +1200,8 @@ void APP_CheckKeys(void)
// scan the hardware keys
Key = KEYBOARD_Poll();
#ifdef ENABLE_BOOT_BEEPS
if (Key != KEY_INVALID)
boot_counter_10ms = 0; // cancel bbot beeps if any key pressed
#endif
if (Key != KEY_INVALID)
boot_counter_10ms = 0; // cancel bbot beeps if any key pressed
if (gKeyReading0 != Key)
{ // new key pressed