Browse Source

don't overdraw standby screen when mqtt updates come in

Thomas Buck 5 months ago
parent
commit
1a415dd95c
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      src/ui.cpp

+ 3
- 1
src/ui.cpp View File

382
         } break;
382
         } break;
383
 
383
 
384
         case UI_UPDATE: {
384
         case UI_UPDATE: {
385
-            ui_draw_menu();
385
+            if (curr_brightness >= set_max_brightness) {
386
+                ui_draw_menu();
387
+            }
386
         } break;
388
         } break;
387
     }
389
     }
388
 }
390
 }

Loading…
Cancel
Save