Fix keyboards/keymaps for boolean encoder callback changes (#12985)

This commit is contained in:
Drashna Jaelre 2021-05-27 21:30:47 -07:00 committed by GitHub
parent d17754408d
commit 1acbb0d7b2

View file

@ -72,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
#ifdef ENCODER_ENABLE
void encoder_update_user(uint8_t index, bool clockwise) {
bool encoder_update_user(uint8_t index, bool clockwise) {
switch (index) {
case 0:
if (clockwise) {
@ -82,7 +82,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
}
break;
}
return true;
}
#endif