Include silent mode on time change
- depends on difference between print time remaining NORMAL vs SILENT mode
This commit is contained in:
parent
cb61436093
commit
cca90da64b
@ -11677,12 +11677,12 @@ uint16_t print_time_remaining() {
|
||||
|
||||
uint16_t print_time_to_change_remaining() {
|
||||
uint16_t print_t = PRINT_TIME_REMAINING_INIT;
|
||||
//#ifdef TMC2130
|
||||
// if (SilentModeMenu == SILENT_MODE_OFF) print_t = print_time_to_change;
|
||||
// else print_t = print_time_to_change - (print_time_remaining_normal - print_time_remaining_silent);
|
||||
//#else
|
||||
/#ifdef TMC2130
|
||||
if (SilentModeMenu == SILENT_MODE_OFF) print_t = print_time_to_change;
|
||||
else print_t = print_time_to_change - (print_time_remaining_normal - print_time_remaining_silent);
|
||||
#else
|
||||
print_t = print_time_to_change;
|
||||
//#endif //TMC2130
|
||||
#endif //TMC2130
|
||||
if ((print_t != PRINT_TIME_REMAINING_INIT) && (feedmultiply != 0)) print_t = 100ul * print_t / feedmultiply;
|
||||
return print_t;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user