Browse Source

Fix getProgress_seconds_elapsed to return seconds

pull/1/head
Scott Lahteine 6 years ago
parent
commit
9613f00877
  1. 2
      Marlin/src/lcd/extensible_ui/ui_api.cpp

2
Marlin/src/lcd/extensible_ui/ui_api.cpp

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

Loading…
Cancel
Save