Total print time for LCD correction (hours:minutes format)
This commit is contained in:
parent
77283f5bf0
commit
eaf9e615ce
|
@ -1953,7 +1953,7 @@ void kill_screen(const char* lcd_msg) {
|
||||||
printStatistics stats = print_job_counter.getStats();
|
printStatistics stats = print_job_counter.getStats();
|
||||||
|
|
||||||
char printTime[6];
|
char printTime[6];
|
||||||
sprintf(printTime, "%02d:%02d", int(stats.printTime / 60), int(stats.printTime % 60));
|
sprintf(printTime, "%02d:%02d", int(stats.printTime / 3600), int(stats.printTime / 60) % 60);
|
||||||
|
|
||||||
if (LCD_CLICKED) lcd_goto_previous_menu(true);
|
if (LCD_CLICKED) lcd_goto_previous_menu(true);
|
||||||
START_SCREEN();
|
START_SCREEN();
|
||||||
|
|
Loading…
Reference in a new issue