Fix for rotary encoder button on ARM board
This commit is contained in:
@@ -1023,7 +1023,7 @@ void readKeysAndTrims()
|
|||||||
register uint32_t i;
|
register uint32_t i;
|
||||||
|
|
||||||
#if defined(ROTARY_ENCODERS)
|
#if defined(ROTARY_ENCODERS)
|
||||||
keys[BTN_REa].input(PIOB->PIO_PDSR & 0x40, BTN_REa);
|
keys[BTN_REa].input(!(PIOB->PIO_PDSR & 0x40), BTN_REa);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8_t enuk = KEY_MENU;
|
uint8_t enuk = KEY_MENU;
|
||||||
|
|||||||
Reference in New Issue
Block a user