diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-11-01 15:42:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-02 09:42:50 +1100 |
| commit | 9d235d4fc5c34f372b0c393f41686b5ef4f8dc13 (patch) | |
| tree | c155fae4cd6043c3c32aa185eb05c5d1a4a5700e /keyboards/splitkb/kyria/keymaps/plattfot/keymap.c | |
| parent | f775da96b17ceec66bac279434325b4da5cb9467 (diff) | |
| download | qmk_firmware-9d235d4fc5c34f372b0c393f41686b5ef4f8dc13.tar.gz qmk_firmware-9d235d4fc5c34f372b0c393f41686b5ef4f8dc13.zip | |
[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
Diffstat (limited to 'keyboards/splitkb/kyria/keymaps/plattfot/keymap.c')
| -rw-r--r-- | keyboards/splitkb/kyria/keymaps/plattfot/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c b/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c index 8b4b0c263..222759d60 100644 --- a/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c +++ b/keyboards/splitkb/kyria/keymaps/plattfot/keymap.c | |||
| @@ -327,12 +327,13 @@ static void render_status(void) { | |||
| 327 | oled_write_P(led_state.scroll_lock ? PSTR("SCRLCK ") : PSTR(" "), false); | 327 | oled_write_P(led_state.scroll_lock ? PSTR("SCRLCK ") : PSTR(" "), false); |
| 328 | } | 328 | } |
| 329 | 329 | ||
| 330 | void oled_task_user(void) { | 330 | bool oled_task_user(void) { |
| 331 | if (is_keyboard_master()) { | 331 | if (is_keyboard_master()) { |
| 332 | render_status(); // Renders the current keyboard state (layer, lock, caps, scroll, etc) | 332 | render_status(); // Renders the current keyboard state (layer, lock, caps, scroll, etc) |
| 333 | } else { | 333 | } else { |
| 334 | render_static_info(); | 334 | render_static_info(); |
| 335 | } | 335 | } |
| 336 | return false; | ||
| 336 | } | 337 | } |
| 337 | #endif | 338 | #endif |
| 338 | 339 | ||
