Fix conflicting typ error for oled_task_user. (#136)

This commit is contained in:
GoLWD
2022-03-30 17:00:30 -06:00
committed by GitHub
parent ddfe214e76
commit 829e88eb03
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -17,7 +17,7 @@
//Sets up what the OLED screens display.
#ifdef OLED_DRIVER_ENABLE
#ifdef OLED_ENABLE
static void render_logo(void) {
static const char PROGMEM qmk_logo[] = {
@@ -73,12 +73,13 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return rotation;
}
void oled_task_user(void) {
bool oled_task_user(void) {
if (is_keyboard_master()) {
print_status_narrow();
} else {
render_logo();
}
return false;
}
#endif
+1 -1
View File
@@ -1,4 +1,4 @@
OLED_DRIVER_ENABLE = yes
OLED_ENABLE = yes
ENCODER_ENABLE = yes
CONSOLE_ENABLE = no
EXTRAKEY_ENABLE = yes