summaryrefslogtreecommitdiff
path: root/keyboards/dekunukem/duckypad/keymaps
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dekunukem/duckypad/keymaps')
-rw-r--r--keyboards/dekunukem/duckypad/keymaps/default/keymap.c3
-rw-r--r--keyboards/dekunukem/duckypad/keymaps/m4cs/keymap.c3
-rw-r--r--keyboards/dekunukem/duckypad/keymaps/via/keymap.c4
3 files changed, 6 insertions, 4 deletions
diff --git a/keyboards/dekunukem/duckypad/keymaps/default/keymap.c b/keyboards/dekunukem/duckypad/keymaps/default/keymap.c
index a87caa2cdd..3b74640fe6 100644
--- a/keyboards/dekunukem/duckypad/keymaps/default/keymap.c
+++ b/keyboards/dekunukem/duckypad/keymaps/default/keymap.c
@@ -125,7 +125,7 @@ char* make_rgb_text(void){
return s;
};
-void oled_task_user(void) {
+bool oled_task_user(void) {
render_logo();
oled_set_cursor(0,3);
if (rgbToggled) {
@@ -137,6 +137,7 @@ void oled_task_user(void) {
oled_write_ln_P(s, false);
free(s);
}
+ return false;
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
diff --git a/keyboards/dekunukem/duckypad/keymaps/m4cs/keymap.c b/keyboards/dekunukem/duckypad/keymaps/m4cs/keymap.c
index 80b188a480..cd8a314739 100644
--- a/keyboards/dekunukem/duckypad/keymaps/m4cs/keymap.c
+++ b/keyboards/dekunukem/duckypad/keymaps/m4cs/keymap.c
@@ -203,7 +203,7 @@ char* make_sys_info_text(void) {
};
-void oled_task_user(void) {
+bool oled_task_user(void) {
if (!sysToggled) {
render_logo();
oled_set_cursor(0,3);
@@ -221,6 +221,7 @@ void oled_task_user(void) {
free(s);
}
}
+ return false;
};
int concat(int a, int b) {
diff --git a/keyboards/dekunukem/duckypad/keymaps/via/keymap.c b/keyboards/dekunukem/duckypad/keymaps/via/keymap.c
index 5d11b6d6c8..01baaeb593 100644
--- a/keyboards/dekunukem/duckypad/keymaps/via/keymap.c
+++ b/keyboards/dekunukem/duckypad/keymaps/via/keymap.c
@@ -67,7 +67,7 @@ static void render_logo(void) {
oled_write_raw_P(ducky_logo, LOGO_SIZE);
}
-void oled_task_user(void) {
+bool oled_task_user(void) {
render_logo();
+ return false;
}
-