Browse Source

Fix getProgress_seconds_elapsed to return seconds

Scott Lahteine 6 years ago
parent
commit
9613f00877
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.cpp

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp View File

@@ -445,7 +445,7 @@ namespace UI {
445 445
   }
446 446
 
447 447
   uint32_t getProgress_seconds_elapsed() {
448
-    return IFPC(print_job_timer.duration(), 0);
448
+    return IFPC(print_job_timer.duration() / 1000UL, 0);
449 449
   }
450 450
 
451 451
   #if ENABLED(PRINTCOUNTER)

Loading…
Cancel
Save