summaryrefslogtreecommitdiff
path: root/keyboards/palette1202/keymaps
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-01 15:42:50 -0700
committerGitHub <noreply@github.com>2021-11-02 09:42:50 +1100
commit9d235d4fc5c34f372b0c393f41686b5ef4f8dc13 (patch)
treec155fae4cd6043c3c32aa185eb05c5d1a4a5700e /keyboards/palette1202/keymaps
parentf775da96b17ceec66bac279434325b4da5cb9467 (diff)
[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/palette1202/keymaps')
-rw-r--r--keyboards/palette1202/keymaps/default/keymap.c3
-rw-r--r--keyboards/palette1202/keymaps/key-check/keymap.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/palette1202/keymaps/default/keymap.c b/keyboards/palette1202/keymaps/default/keymap.c
index fb28dedbe5..a1faa8558f 100644
--- a/keyboards/palette1202/keymaps/default/keymap.c
+++ b/keyboards/palette1202/keymaps/default/keymap.c
@@ -274,7 +274,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
// OLED Display
#ifdef OLED_ENABLE
-void oled_task_user(void) {
+bool oled_task_user(void) {
// get layer Number
uint8_t currentDefault = get_highest_layer(default_layer_state);
uint8_t currentLayer = get_highest_layer(layer_state);
@@ -326,5 +326,6 @@ void oled_task_user(void) {
// pressed key / 4th line of the logo
render_row(3, " ");
}
+ return false;
}
#endif // #ifdef OLED_ENABLE
diff --git a/keyboards/palette1202/keymaps/key-check/keymap.c b/keyboards/palette1202/keymaps/key-check/keymap.c
index 6291b5f8a0..00666007a2 100644
--- a/keyboards/palette1202/keymaps/key-check/keymap.c
+++ b/keyboards/palette1202/keymaps/key-check/keymap.c
@@ -142,10 +142,11 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
// OLED Display
#ifdef OLED_ENABLE
-void oled_task_user(void) {
+bool oled_task_user(void) {
render_row(0, "TEST");
render_row(1, "test");
render_row(2, "TEST");
render_row(3, "test");
+ return false;
}
#endif // #ifdef OLED_ENABLE