chore(bw): cleanup and consolidate navigation code (#5896)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
+1
-1
@@ -311,7 +311,7 @@ bool trimDown(uint8_t idx)
|
||||
return READ_TRIMS() & (1 << idx);
|
||||
}
|
||||
|
||||
uint8_t keysGetState(uint8_t key)
|
||||
bool keysGetState(uint8_t key)
|
||||
{
|
||||
if (key >= MAX_KEYS) return 0;
|
||||
return keys[key].pressed();
|
||||
|
||||
Reference in New Issue
Block a user