Fix M73 LCD code typo (#20300)

This commit is contained in:
Thomas Niccolo Reyes 2020-11-28 05:26:19 +08:00 committed by GitHub
parent 0acd751e2d
commit 1c7f53bbb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -714,7 +714,7 @@ inline uint8_t draw_elapsed_or_remaining_time(uint8_t timepos, const bool blink)
const bool show_remain = TERN1(ROTATE_PROGRESS_DISPLAY, blink) && (printingIsActive() || marlin_state == MF_SD_COMPLETE); const bool show_remain = TERN1(ROTATE_PROGRESS_DISPLAY, blink) && (printingIsActive() || marlin_state == MF_SD_COMPLETE);
if (show_remain) { if (show_remain) {
#if ENABLED(USE_M73_REMAINING_TIME) #if ENABLED(USE_M73_REMAINING_TIME)
duration_t remaining = get_remaining_time(); duration_t remaining = ui.get_remaining_time();
#else #else
uint8_t progress = ui.get_progress_percent(); uint8_t progress = ui.get_progress_percent();
uint32_t elapsed = print_job_timer.duration(); uint32_t elapsed = print_job_timer.duration();