avoid double oled off
This commit is contained in:
parent
7f78b0e974
commit
24324c6c6c
|
@ -252,7 +252,7 @@ void render_bongocat(void) {
|
||||||
uint32_t const input_timer = last_matrix_activity_time();
|
uint32_t const input_timer = last_matrix_activity_time();
|
||||||
|
|
||||||
if (timer_elapsed32(input_timer) > OLED_TIMEOUT) {
|
if (timer_elapsed32(input_timer) > OLED_TIMEOUT) {
|
||||||
oled_off();
|
// already done by luna oled_off();
|
||||||
} else if (timer_elapsed(frame_timer) > FRAME_DURATION) {
|
} else if (timer_elapsed(frame_timer) > FRAME_DURATION) {
|
||||||
frame_timer = timer_read();
|
frame_timer = timer_read();
|
||||||
animate_cat(timer_elapsed32(input_timer));
|
animate_cat(timer_elapsed32(input_timer));
|
||||||
|
|
Loading…
Reference in a new issue