Selaa lähdekoodia

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

Tobias Frost 6 vuotta sitten
vanhempi
commit
afbec5ff7e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.cpp

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp Näytä tiedosto

@@ -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…
Peruuta
Tallenna