aboutsummaryrefslogtreecommitdiff
path: root/users/greatwizard/greatwizard.c
diff options
context:
space:
mode:
Diffstat (limited to 'users/greatwizard/greatwizard.c')
-rw-r--r--users/greatwizard/greatwizard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/greatwizard/greatwizard.c b/users/greatwizard/greatwizard.c
index 46ee41436..3ec856d72 100644
--- a/users/greatwizard/greatwizard.c
+++ b/users/greatwizard/greatwizard.c
@@ -70,7 +70,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
70} 70}
71 71
72#ifdef ENCODER_ENABLE 72#ifdef ENCODER_ENABLE
73void encoder_update_user(uint8_t index, bool clockwise) { 73bool encoder_update_user(uint8_t index, bool clockwise) {
74 switch (get_highest_layer(layer_state)) { 74 switch (get_highest_layer(layer_state)) {
75 case _QWERTY: 75 case _QWERTY:
76#ifdef LAYERS_PROGRAMMER 76#ifdef LAYERS_PROGRAMMER
@@ -90,6 +90,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
90 } 90 }
91 break; 91 break;
92 } 92 }
93 return true;
93} 94}
94#endif 95#endif
95 96