Skip to content

Commit

Permalink
Update return type of oled_task_user
Browse files Browse the repository at this point in the history
This is necessary after qmk/qmk_firmware#14864
  • Loading branch information
pascalpfeil authored Dec 3, 2021
1 parent 8e1f231 commit 352dd7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static void render_anim(void) {
}

// Used to draw on to the oled screen
void oled_task_user(void) {
bool oled_task_user(void) {
render_anim(); // renders pixelart

oled_set_cursor(0, 0); // sets cursor to (row, column) using charactar spacing (5 rows on 128x32 screen, anything more will overflow back to the top)
Expand All @@ -214,5 +214,7 @@ void oled_task_user(void) {
led_t led_state = host_keyboard_led_state(); // caps lock stuff, prints CAPS on new line if caps led is on
oled_set_cursor(0, 1);
oled_write_P(led_state.caps_lock ? PSTR("CAPS") : PSTR(" "), false);

return false;
}
#endif

0 comments on commit 352dd7d

Please sign in to comment.