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;
|
||||
uint8_t percent=card.percentDone();
|
||||
if(oldpercent!=percent)
|
||||
if(oldpercent!=percent ||force_lcd_update)
|
||||
{
|
||||
lcd.setCursor(6,3);
|
||||
lcd.print(oldpercent);
|
||||
lcdprintPGM("done");
|
||||
lcd.setCursor(7,2);
|
||||
lcd.print(itostr3((int)percent));
|
||||
lcdprintPGM("%SD");
|
||||
|
||||
}
|
||||
|
||||
#else //smaller LCDS----------------------------------
|
||||
|
|
Reference in a new issue