Skip to content

Commit

Permalink
[Painter] Only activity timeout on master
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Aug 4, 2024
1 parent 6bbc880 commit 94f5643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/drashna/display/painter/painter.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void housekeeping_task_quantum_painter(void) {
ili9341_draw_user();
#endif // QUANTUM_PAINTER_ILI9341_ENABLE
#if (QUANTUM_PAINTER_DISPLAY_TIMEOUT) > 0
if (last_input_activity_elapsed() > QUANTUM_PAINTER_DISPLAY_TIMEOUT) {
if (is_keyboard_master() && (last_input_activity_elapsed() > QUANTUM_PAINTER_DISPLAY_TIMEOUT)) {
qp_backlight_disable();
} else {
qp_backlight_enable();
Expand Down

0 comments on commit 94f5643

Please sign in to comment.