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

fixed key lock compile bug

This commit is contained in:
OneOfEleven
2023-11-02 11:53:22 +00:00
parent 2638d803c0
commit bb3b6812c6
10 changed files with 126 additions and 115 deletions

View File

@ -59,7 +59,7 @@ void GENERIC_Key_F(bool key_pressed, bool key_held)
g_another_voice_id = g_eeprom.config.setting.key_lock ? VOICE_ID_UNLOCK : VOICE_ID_LOCK;
#endif
g_eeprom.config.setting.key_lock = (g_eeprom.key_lock + 1) & 1u;
g_eeprom.config.setting.key_lock = (g_eeprom.config.setting.key_lock + 1) & 1u;
g_request_save_settings = true;
g_update_status = true;