aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mechwild/mercutio/keymaps/fancy/keymap.c')
-rwxr-xr-xkeyboards/mechwild/mercutio/keymaps/fancy/keymap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c b/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c
index cb0a6173f..96457be6d 100755
--- a/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c
+++ b/keyboards/mechwild/mercutio/keymaps/fancy/keymap.c
@@ -107,7 +107,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
107 oled_write_P(logo_4, false); 107 oled_write_P(logo_4, false);
108 } 108 }
109 109
110 void oled_task_user(void) { 110 bool oled_task_user(void) {
111 111
112 if ( IS_HOST_LED_OFF(USB_LED_NUM_LOCK) && IS_HOST_LED_OFF(USB_LED_CAPS_LOCK) && selected_layer == 0 && get_highest_layer(layer_state) == 0 ) { 112 if ( IS_HOST_LED_OFF(USB_LED_NUM_LOCK) && IS_HOST_LED_OFF(USB_LED_CAPS_LOCK) && selected_layer == 0 && get_highest_layer(layer_state) == 0 ) {
113 render_name(); 113 render_name();
@@ -164,5 +164,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
164 oled_write_P(led_state.num_lock ? PSTR("NLCK ") : PSTR(" "), false); 164 oled_write_P(led_state.num_lock ? PSTR("NLCK ") : PSTR(" "), false);
165 oled_write_P(led_state.caps_lock ? PSTR("CAPS ") : PSTR(" "), false); 165 oled_write_P(led_state.caps_lock ? PSTR("CAPS ") : PSTR(" "), false);
166 } 166 }
167 return false;
167 } 168 }
168#endif 169#endif