Fix menu display bugs

This commit is contained in:
TuxSH
2017-06-25 00:14:07 +02:00
parent 0377cbd2b4
commit 91378ef3c1
2 changed files with 4 additions and 2 deletions

View File

@@ -251,6 +251,8 @@ static void menuDraw(Menu *menu, u32 selected)
Draw_DrawString(SCREEN_BOT_WIDTH - 10 - SPACING_X * n, 10, COLOR_WHITE, ipBuffer);
}
Draw_DrawFormattedString(SCREEN_BOT_WIDTH - 10 - 4 * SPACING_X, SCREEN_BOT_HEIGHT - 20, COLOR_WHITE, " ");
if(batteryLevel != 255)
Draw_DrawFormattedString(SCREEN_BOT_WIDTH - 10 - 4 * SPACING_X, SCREEN_BOT_HEIGHT - 20, COLOR_WHITE, "%02hhu%%", batteryLevel);
else