summaryrefslogtreecommitdiff
path: root/keyboards/ungodly
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/ungodly
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/ungodly')
-rw-r--r--keyboards/ungodly/launch_pad/keymaps/default/keymap.c3
-rw-r--r--keyboards/ungodly/launch_pad/keymaps/via/keymap.c3
-rw-r--r--keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/keyboards/ungodly/launch_pad/keymaps/default/keymap.c b/keyboards/ungodly/launch_pad/keymaps/default/keymap.c
index 42b6b397ca..43e0e72bdc 100644
--- a/keyboards/ungodly/launch_pad/keymaps/default/keymap.c
+++ b/keyboards/ungodly/launch_pad/keymaps/default/keymap.c
@@ -274,7 +274,7 @@ static void render_light_logo(void) {
oled_write_raw_P(light_logo, sizeof(light_logo));
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
switch (get_highest_layer(layer_state)) {
case 0:
render_rocket_logo();
@@ -290,5 +290,6 @@ void oled_task_user(void) {
oled_write_ln_P(PSTR(" UND"), false);
break;
}
+ return false;
}
#endif
diff --git a/keyboards/ungodly/launch_pad/keymaps/via/keymap.c b/keyboards/ungodly/launch_pad/keymaps/via/keymap.c
index 083bb8b815..0854715bef 100644
--- a/keyboards/ungodly/launch_pad/keymaps/via/keymap.c
+++ b/keyboards/ungodly/launch_pad/keymaps/via/keymap.c
@@ -273,7 +273,7 @@ static void render_light_logo(void) {
oled_write_raw_P(light_logo, sizeof(light_logo));
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
switch (get_highest_layer(layer_state)) {
case 0:
render_rocket_logo();
@@ -289,5 +289,6 @@ void oled_task_user(void) {
oled_write_ln_P(PSTR(" UND"), false);
break;
}
+ return false;
}
#endif
diff --git a/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c b/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c
index 4f856b9770..63f142d913 100644
--- a/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c
+++ b/keyboards/ungodly/launch_pad/keymaps/warzone/keymap.c
@@ -249,7 +249,7 @@ static void render_light_logo(void) {
oled_write_raw_P(light_logo, sizeof(light_logo));
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
switch (get_highest_layer(layer_state)) {
case 0:
render_rocket_logo();
@@ -265,5 +265,6 @@ void oled_task_user(void) {
oled_write_ln_P(PSTR(" UND"), false);
break;
}
+ return false;
}
#endif