Fix conflicting typ error for oled_task_user. (#136)
This commit is contained in:
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
//Sets up what the OLED screens display.
|
//Sets up what the OLED screens display.
|
||||||
|
|
||||||
#ifdef OLED_DRIVER_ENABLE
|
#ifdef OLED_ENABLE
|
||||||
|
|
||||||
static void render_logo(void) {
|
static void render_logo(void) {
|
||||||
static const char PROGMEM qmk_logo[] = {
|
static const char PROGMEM qmk_logo[] = {
|
||||||
@ -73,12 +73,13 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
|||||||
return rotation;
|
return rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
void oled_task_user(void) {
|
bool oled_task_user(void) {
|
||||||
if (is_keyboard_master()) {
|
if (is_keyboard_master()) {
|
||||||
print_status_narrow();
|
print_status_narrow();
|
||||||
} else {
|
} else {
|
||||||
render_logo();
|
render_logo();
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
@ -1,4 +1,4 @@
|
|||||||
OLED_DRIVER_ENABLE = yes
|
OLED_ENABLE = yes
|
||||||
ENCODER_ENABLE = yes
|
ENCODER_ENABLE = yes
|
||||||
CONSOLE_ENABLE = no
|
CONSOLE_ENABLE = no
|
||||||
EXTRAKEY_ENABLE = yes
|
EXTRAKEY_ENABLE = yes
|
||||||
|
Reference in New Issue
Block a user