Skip to content

Commit

Permalink
🩹 Set color 1 on DOGM clear
Browse files Browse the repository at this point in the history
Followup to `clear_for_drawing`
  • Loading branch information
thinkyhead committed Jun 27, 2024
1 parent 9240ec8 commit 11f90de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Marlin/src/lcd/dogm/marlinui_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ void MarlinUI::clear_lcd() {
do {
u8g.drawBox(0, 0, u8g.getWidth(), u8g.getHeight());
} while (u8g.nextPage());
u8g.setColorIndex(1);
}

// U8G displays are drawn over multiple loops so must do their own clearing.
Expand Down

0 comments on commit 11f90de

Please sign in to comment.