Create function to zero gFrameBuffer

Size: 60464 -> 60420
This commit is contained in:
Juan Antonio
2023-12-25 01:24:47 +01:00
committed by egzumer
parent f8ef687026
commit 78a45d9bbd
9 changed files with 17 additions and 11 deletions

View File

@@ -309,7 +309,7 @@ void UI_DisplayMain(void)
center_line = CENTER_LINE_NONE;
// clear the screen
memset(gFrameBuffer, 0, sizeof(gFrameBuffer));
UI_DisplayClear();
if(gLowBattery && !gLowBatteryConfirmed) {
UI_DisplayPopup("LOW BATTERY");