watchdog,percent done,

This commit is contained in:
Bernhard Kubicek
2011-11-15 20:54:40 +01:00
parent c57906b627
commit 7919a40d06
7 changed files with 55 additions and 33 deletions

View File

@ -374,6 +374,16 @@ void MainMenu::showStatus()
lcd.print(fillto(LCD_WIDTH,messagetext));
messagetext[0]='\0';
}
static uint8_t oldpercent=101;
uint8_t percent=card.percentDone();
if(oldpercent!=percent)
{
lcd.setCursor(6,3);
lcd.print(oldpercent);
lcdprintPGM("done");
}
#else //smaller LCDS----------------------------------
static int olddegHotEnd0=-1;
static int oldtargetHotEnd0=-1;