diff options
Diffstat (limited to 'keyboards/neopad/rev1/keymaps/default/keymap.c')
-rwxr-xr-x | keyboards/neopad/rev1/keymaps/default/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/neopad/rev1/keymaps/default/keymap.c b/keyboards/neopad/rev1/keymaps/default/keymap.c index 061e26d43..08227c84f 100755 --- a/keyboards/neopad/rev1/keymaps/default/keymap.c +++ b/keyboards/neopad/rev1/keymaps/default/keymap.c | |||
@@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
71 | }; | 71 | }; |
72 | 72 | ||
73 | 73 | ||
74 | void encoder_update_user(uint8_t index, bool clockwise) { | 74 | bool encoder_update_user(uint8_t index, bool clockwise) { |
75 | if (index == 0) { /* LEFT ENCODER */ | 75 | if (index == 0) { /* LEFT ENCODER */ |
76 | switch (get_highest_layer(layer_state)) { | 76 | switch (get_highest_layer(layer_state)) { |
77 | case 0: | 77 | case 0: |
@@ -150,4 +150,5 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
150 | break; | 150 | break; |
151 | } | 151 | } |
152 | } | 152 | } |
153 | return true; | ||
153 | } | 154 | } |