From 24324c6c6c421813e5a07f6e1d3ecda76bf11bfc Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Wed, 27 Nov 2024 15:38:21 +0100 Subject: [PATCH] avoid double oled off --- features/oled_bongocat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/oled_bongocat.c b/features/oled_bongocat.c index dbbaf1b..a63e3d4 100644 --- a/features/oled_bongocat.c +++ b/features/oled_bongocat.c @@ -252,7 +252,7 @@ void render_bongocat(void) { uint32_t const input_timer = last_matrix_activity_time(); if (timer_elapsed32(input_timer) > OLED_TIMEOUT) { - oled_off(); + // already done by luna oled_off(); } else if (timer_elapsed(frame_timer) > FRAME_DURATION) { frame_timer = timer_read(); animate_cat(timer_elapsed32(input_timer));