Browse Source

show sd%

pull/1/head
Bernhard Kubicek 13 years ago
parent
commit
02b9eceead
  1. 9
      Marlin/ultralcd.pde

9
Marlin/ultralcd.pde

@ -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…
Cancel
Save