aboutsummaryrefslogtreecommitdiff
path: root/keyboards/torn/bongocat.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/torn/bongocat.c')
-rw-r--r--keyboards/torn/bongocat.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/torn/bongocat.c b/keyboards/torn/bongocat.c
index 00f5cda6a..21322c953 100644
--- a/keyboards/torn/bongocat.c
+++ b/keyboards/torn/bongocat.c
@@ -34,7 +34,10 @@ static bool show_logo = true;
34 34
35__attribute__((weak)) extern const char PROGMEM bongocat_logo[]; 35__attribute__((weak)) extern const char PROGMEM bongocat_logo[];
36 36
37void oled_task_user(void) { 37bool oled_task_kb(void) {
38 if (!oled_task_user()) {
39 return false;
40 }
38 41
39// clang-format off 42// clang-format off
40 static const char PROGMEM idle[][FRAME_SIZE] = { 43 static const char PROGMEM idle[][FRAME_SIZE] = {
@@ -347,7 +350,7 @@ void oled_task_user(void) {
347 oled_off(); 350 oled_off();
348 anim_timer = 0; 351 anim_timer = 0;
349 show_logo = true; 352 show_logo = true;
350 return; 353 return false;
351 } 354 }
352 355
353 if (timer_elapsed32(anim_timer) > FRAME_DURATION) { 356 if (timer_elapsed32(anim_timer) > FRAME_DURATION) {
@@ -369,6 +372,7 @@ void oled_task_user(void) {
369 } 372 }
370 current_frame++; 373 current_frame++;
371 } 374 }
375 return false;
372} 376}
373 377
374bool process_record_kb(uint16_t keycode, keyrecord_t *record) { 378bool process_record_kb(uint16_t keycode, keyrecord_t *record) {