|
@@ -476,9 +476,9 @@ bool mmu_print_saved = false;
|
|
|
|
|
|
// storing estimated time to end of print counted by slicer
|
|
|
uint8_t print_percent_done_normal = PRINT_PERCENT_DONE_INIT;
|
|
|
-uint32_t print_time_remaining_normal = PRINT_TIME_REMAINING_INIT; //estimated remaining print time in minutes
|
|
|
+uint16_t print_time_remaining_normal = PRINT_TIME_REMAINING_INIT; //estimated remaining print time in minutes
|
|
|
uint8_t print_percent_done_silent = PRINT_PERCENT_DONE_INIT;
|
|
|
-uint32_t print_time_remaining_silent = PRINT_TIME_REMAINING_INIT; //estimated remaining print time in minutes
|
|
|
+uint16_t print_time_remaining_silent = PRINT_TIME_REMAINING_INIT; //estimated remaining print time in minutes
|
|
|
|
|
|
//===========================================================================
|
|
|
//=============================Private Variables=============================
|
|
@@ -8859,7 +8859,7 @@ uint16_t print_time_remaining() {
|
|
|
uint16_t print_t = PRINT_TIME_REMAINING_INIT;
|
|
|
if (SilentModeMenu == SILENT_MODE_OFF) print_t = print_time_remaining_normal;
|
|
|
else print_t = print_time_remaining_silent;
|
|
|
- if ((print_t != PRINT_TIME_REMAINING_INIT) && (feedmultiply != 0)) print_t = 100 * print_t / feedmultiply;
|
|
|
+ if ((print_t != PRINT_TIME_REMAINING_INIT) && (feedmultiply != 0)) print_t = 100ul * print_t / feedmultiply;
|
|
|
return print_t;
|
|
|
}
|
|
|
|