浏览代码

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() {

正在加载...
取消
保存