Fix conflicting typ error for oled_task_user. (#136)

This commit is contained in:
GoLWD 2022-03-31 01:00:30 +02:00 committed by GitHub
parent ddfe214e76
commit 829e88eb03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

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

View file

@ -1,4 +1,4 @@
OLED_DRIVER_ENABLE = yes
OLED_ENABLE = yes
ENCODER_ENABLE = yes
CONSOLE_ENABLE = no
EXTRAKEY_ENABLE = yes