show sd%
This commit is contained in:
parent
7919a40d06
commit
02b9eceead
@ -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----------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user