Skip to content

Commit

Permalink
Merge pull request #4258 from clexpert/patch-2
Browse files Browse the repository at this point in the history
Total print time for LCD correction (hours:minutes format)
  • Loading branch information
thinkyhead authored Jul 11, 2016
2 parents 0ccc5d1 + eaf9e61 commit 8dda05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1953,7 +1953,7 @@ void kill_screen(const char* lcd_msg) {
printStatistics stats = print_job_counter.getStats();

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);
START_SCREEN();
Expand Down

0 comments on commit 8dda05e

Please sign in to comment.