From ed02b6286b4006f5275a82b21388da98367d2c1c Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Fri, 7 Sep 2018 02:02:35 +0200 Subject: [PATCH] time remaining fix --- Firmware/Marlin.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Firmware/Marlin.h b/Firmware/Marlin.h index 6fd26d5bb..9cab60609 100644 --- a/Firmware/Marlin.h +++ b/Firmware/Marlin.h @@ -346,9 +346,12 @@ extern uint8_t print_percent_done_normal; extern uint16_t print_time_remaining_normal; extern uint8_t print_percent_done_silent; extern uint16_t print_time_remaining_silent; -#define PRINT_TIME_REMAINING_INIT 65535 -#define PRINT_PERCENT_DONE_INIT 255 -#define PRINTER_ACTIVE (IS_SD_PRINTING || is_usb_printing || isPrintPaused || (custom_message_type == 4) || (lcd_commands_type == LCD_COMMAND_V2_CAL)) + +#define PRINT_TIME_REMAINING_INIT 0xffff +#define PRINT_PERCENT_DONE_INIT 0xff +#define PRINTER_ACTIVE (IS_SD_PRINTING || is_usb_printing || isPrintPaused || (custom_message_type == 4) || (lcd_commands_type == LCD_COMMAND_V2_CAL) || card.paused || mmu_print_saved) + +extern void calculate_extruder_multipliers(); // Similar to the default Arduino delay function, // but it keeps the background tasks running.