[Core] Change OLED task function to be boolean (#14864)

* [Core] Add kb level callbacks to OLED driver

* Update keyboards and keymaps

* Update docs

* Update userspace configs

* Add fix for my keymap ...

* update lefty
This commit is contained in:
Drashna Jaelre 2021-11-01 15:42:50 -07:00 committed by GitHub
parent 5dab3a7bc6
commit 44c20e7743
40 changed files with 104 additions and 57 deletions

View file

@ -99,7 +99,7 @@ oled_rotation_t oled_init_user(oled_rotation_t rotation) {
return isLeftHand ? OLED_ROTATION_180 : OLED_ROTATION_0;
}
void oled_task_user(void) {
bool oled_task_user(void) {
if (is_keyboard_master()) {
// Host Keyboard Layer Status
oled_write_P(PSTR("Layer: "), false);
@ -123,5 +123,6 @@ void oled_task_user(void) {
} else {
render_qmk_logo();
}
return false;
}
#endif