diff options
Diffstat (limited to 'keyboards/yampad/keymaps/default/keymap.c')
-rw-r--r-- | keyboards/yampad/keymaps/default/keymap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/yampad/keymaps/default/keymap.c b/keyboards/yampad/keymaps/default/keymap.c index d22eb2617..51d921be3 100644 --- a/keyboards/yampad/keymaps/default/keymap.c +++ b/keyboards/yampad/keymaps/default/keymap.c | |||
@@ -122,7 +122,7 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) { | |||
122 | return OLED_ROTATION_270; // flips the display 270 degrees | 122 | return OLED_ROTATION_270; // flips the display 270 degrees |
123 | } | 123 | } |
124 | 124 | ||
125 | void oled_task_user(void) { | 125 | bool oled_task_user(void) { |
126 | // Host Keyboard Layer Status | 126 | // Host Keyboard Layer Status |
127 | oled_write_P(PSTR("Layer"), false); | 127 | oled_write_P(PSTR("Layer"), false); |
128 | switch (get_highest_layer(layer_state)) { | 128 | switch (get_highest_layer(layer_state)) { |
@@ -159,5 +159,7 @@ void oled_task_user(void) { | |||
159 | (uint8_t)(rgblight_get_sat() / RGBLIGHT_SAT_STEP), | 159 | (uint8_t)(rgblight_get_sat() / RGBLIGHT_SAT_STEP), |
160 | (uint8_t)(rgblight_get_val() / RGBLIGHT_VAL_STEP)); | 160 | (uint8_t)(rgblight_get_val() / RGBLIGHT_VAL_STEP)); |
161 | oled_write(led_buf, false); | 161 | oled_write(led_buf, false); |
162 | |||
163 | return false; | ||
162 | } | 164 | } |
163 | #endif | 165 | #endif |