summaryrefslogtreecommitdiff
path: root/keyboards/palette1202
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/palette1202')
-rw-r--r--keyboards/palette1202/keymaps/default/keymap.c3
-rw-r--r--keyboards/palette1202/keymaps/key-check/keymap.c3
-rw-r--r--keyboards/palette1202/palette1202.c4
3 files changed, 6 insertions, 4 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
diff --git a/keyboards/palette1202/palette1202.c b/keyboards/palette1202/palette1202.c
index be7fd6443a..a193964e3e 100644
--- a/keyboards/palette1202/palette1202.c
+++ b/keyboards/palette1202/palette1202.c
@@ -17,7 +17,7 @@
// initialize OLED if OLED is enabled
#ifdef OLED_ENABLE
- oled_rotation_t oled_init_user(oled_rotation_t rotation) {
+oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
return OLED_ROTATION_180;
- }
+}
#endif