diff --git a/Marlin/src/lcd/extensible_ui/ui_api.cpp b/Marlin/src/lcd/extensible_ui/ui_api.cpp index 1ed15cb600..606b7b6fc1 100644 --- a/Marlin/src/lcd/extensible_ui/ui_api.cpp +++ b/Marlin/src/lcd/extensible_ui/ui_api.cpp @@ -445,8 +445,7 @@ namespace UI { } uint32_t getProgress_seconds_elapsed() { - const duration_t elapsed = IFPC(print_job_timer.duration(), 0); - return elapsed.value; + return IFPC(print_job_timer.duration(), 0); } #if ENABLED(PRINTCOUNTER)