Issue #192 - Trims and Rotary encoders buttons added to the switches
list
This commit is contained in:
@@ -115,7 +115,7 @@ uint32_t readTrims()
|
||||
|
||||
uint8_t keyDown()
|
||||
{
|
||||
return (~readKeys() & 0x7E) || rotencDown();
|
||||
return (~readKeys() & 0x7E) || REA_DOWN();
|
||||
}
|
||||
|
||||
void readKeysAndTrims()
|
||||
@@ -123,7 +123,7 @@ void readKeysAndTrims()
|
||||
register uint32_t i;
|
||||
|
||||
#if ROTARY_ENCODERS > 0
|
||||
keys[BTN_REa].input(rotencDown(), BTN_REa);
|
||||
keys[BTN_REa].input(REA_DOWN(), BTN_REa);
|
||||
#endif
|
||||
|
||||
uint8_t enuk = KEY_MENU;
|
||||
|
||||
Reference in New Issue
Block a user