Bernhard Kubicek 13 years ago
parent
commit
02b9eceead
1 changed files with 5 additions and 4 deletions
  1. 5
    4
      Marlin/ultralcd.pde

+ 5
- 4
Marlin/ultralcd.pde View File

377
   
377
   
378
   static uint8_t oldpercent=101;
378
   static uint8_t oldpercent=101;
379
   uint8_t percent=card.percentDone();
379
   uint8_t percent=card.percentDone();
380
-  if(oldpercent!=percent)
380
+  if(oldpercent!=percent ||force_lcd_update)
381
   {
381
   {
382
-     lcd.setCursor(6,3);
383
-    lcd.print(oldpercent);
384
-    lcdprintPGM("done");
382
+     lcd.setCursor(7,2);
383
+    lcd.print(itostr3((int)percent));
384
+    lcdprintPGM("%SD");
385
+    
385
   }
386
   }
386
   
387
   
387
 #else //smaller LCDS----------------------------------
388
 #else //smaller LCDS----------------------------------

Loading…
Cancel
Save