Browse Source

Followup to #4574, specify L for long

pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
01f1f779a5
  1. 2
      Marlin/ultralcd_impl_DOGM.h

2
Marlin/ultralcd_impl_DOGM.h

@ -384,7 +384,7 @@ static void lcd_implementation_status_screen() {
char buffer[10]; char buffer[10];
duration_t elapsed = print_job_timer.duration(); duration_t elapsed = print_job_timer.duration();
bool has_days = (elapsed.value > 60*60*24); bool has_days = (elapsed.value > 60*60*24L);
elapsed.toDigital(buffer, has_days); elapsed.toDigital(buffer, has_days);
u8g.setPrintPos(has_days ? 71 : 80, 48); u8g.setPrintPos(has_days ? 71 : 80, 48);

Loading…
Cancel
Save