Bernhard Kubicek 13 年之前
父節點
當前提交
02b9eceead
共有 1 個文件被更改,包括 5 次插入4 次删除
  1. 5
    4
      Marlin/ultralcd.pde

+ 5
- 4
Marlin/ultralcd.pde 查看文件

@@ -377,11 +377,12 @@ void MainMenu::showStatus()
377 377
   
378 378
   static uint8_t oldpercent=101;
379 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 388
 #else //smaller LCDS----------------------------------

Loading…
取消
儲存