瀏覽代碼

Have ExtUI::getProgress use ui.get_progress (#13328)

Tobias Frost 6 年之前
父節點
當前提交
afbec5ff7e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.cpp

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp 查看文件

@@ -569,7 +569,7 @@ namespace ExtUI {
569 569
   #endif
570 570
 
571 571
   uint8_t getProgress_percent() {
572
-    return IFSD(card.percentDone(), 0);
572
+    return ui.get_progress();
573 573
   }
574 574
 
575 575
   uint32_t getProgress_seconds_elapsed() {

Loading…
取消
儲存