mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +00:00
Reversing the up/down button functions on the Spectrum
This commit is contained in:
1 parent
7d0fcc8415
commit
7148c15f98
1 file changed
+1
-1
+1
-1
@@ -1490,7 +1490,7 @@ static void DrawArrow(uint8_t x)
|
||||
}
|
||||
|
||||
static bool GetDirection(KEY_Code_t key) {
|
||||
return (key == KEY_UP) ? !gEeprom.SET_NAV : gEeprom.SET_NAV;
|
||||
return (key == KEY_UP) ? gEeprom.SET_NAV : !gEeprom.SET_NAV;
|
||||
}
|
||||
|
||||
// Returns true if the key was handled (stop state-specific processing).
|
||||
|
||||
Reference in new issue
Block a user