Browse Source

Fix M73 LCD code typo (#20300)

vanilla_fb_2.0.x
Thomas Niccolo Reyes 4 years ago
committed by GitHub
parent
commit
1c7f53bbb2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/lcd/HD44780/marlinui_HD44780.cpp

2
Marlin/src/lcd/HD44780/marlinui_HD44780.cpp

@ -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();

Loading…
Cancel
Save