소스 검색

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…
취소
저장