updated ui

This commit is contained in:
Bernd Herzog 2023-04-01 19:16:01 +02:00
parent 8d8d457da2
commit 6fadd70c1d
3 changed files with 20 additions and 3 deletions

View file

@ -518,7 +518,7 @@ bool init() {
void shutdown(const bool leave_screen_on) {
gpdma::controller.disable();
if (leave_screen_on) {
if (!leave_screen_on) {
backlight()->off();
display.shutdown();
}