diff options
Diffstat (limited to 'keyboards/2key2crawl/keymaps/vol/keymap.c')
-rw-r--r-- | keyboards/2key2crawl/keymaps/vol/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/2key2crawl/keymaps/vol/keymap.c b/keyboards/2key2crawl/keymaps/vol/keymap.c index 8ffd3f58c..a45d3f778 100644 --- a/keyboards/2key2crawl/keymaps/vol/keymap.c +++ b/keyboards/2key2crawl/keymaps/vol/keymap.c | |||
@@ -14,7 +14,7 @@ void matrix_init_user(void) { | |||
14 | debug_config.enable = 1; | 14 | debug_config.enable = 1; |
15 | } | 15 | } |
16 | 16 | ||
17 | void encoder_update_user(int8_t index, bool clockwise) { | 17 | bool encoder_update_user(uint8_t index, bool clockwise) { |
18 | if (index == 0) { | 18 | if (index == 0) { |
19 | if (clockwise) { | 19 | if (clockwise) { |
20 | tap_code(KC_VOLU); | 20 | tap_code(KC_VOLU); |
@@ -22,4 +22,5 @@ void encoder_update_user(int8_t index, bool clockwise) { | |||
22 | tap_code(KC_VOLD); | 22 | tap_code(KC_VOLD); |
23 | } | 23 | } |
24 | } | 24 | } |
25 | return true; | ||
25 | } | 26 | } |