show sd%
This commit is contained in:
parent
7919a40d06
commit
02b9eceead
1 changed files with 5 additions and 4 deletions
|
@ -377,11 +377,12 @@ void MainMenu::showStatus()
|
||||||
|
|
||||||
static uint8_t oldpercent=101;
|
static uint8_t oldpercent=101;
|
||||||
uint8_t percent=card.percentDone();
|
uint8_t percent=card.percentDone();
|
||||||
if(oldpercent!=percent)
|
if(oldpercent!=percent ||force_lcd_update)
|
||||||
{
|
{
|
||||||
lcd.setCursor(6,3);
|
lcd.setCursor(7,2);
|
||||||
lcd.print(oldpercent);
|
lcd.print(itostr3((int)percent));
|
||||||
lcdprintPGM("done");
|
lcdprintPGM("%SD");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#else //smaller LCDS----------------------------------
|
#else //smaller LCDS----------------------------------
|
||||||
|
|
Reference in a new issue