Commit ee2e2dd6 authored by Simone Primarosa's avatar Simone Primarosa

Update 4.1.5 dev

parent b642a8f9
...@@ -1059,8 +1059,10 @@ static void lcd_stats_menu() { ...@@ -1059,8 +1059,10 @@ static void lcd_stats_menu() {
int day = printer_usage_seconds / 60 / 60 / 24, hours = (printer_usage_seconds / 60 / 60) % 24, minutes = (printer_usage_seconds / 60) % 60; int day = printer_usage_seconds / 60 / 60 / 24, hours = (printer_usage_seconds / 60 / 60) % 24, minutes = (printer_usage_seconds / 60) % 60;
sprintf_P(row, PSTR(MSG_ONFOR " %id %ih %im"), day, hours, minutes); sprintf_P(row, PSTR(MSG_ONFOR " %id %ih %im"), day, hours, minutes);
LCD_Printpos(0, 0); lcd_print(row); LCD_Printpos(0, 0); lcd_print(row);
sprintf_P(row, PSTR(MSG_PWRCONSUMED " %iWh"), power_consumption_hour); #if HAS_POWER_CONSUMPTION_SENSOR
LCD_Printpos(0, 1); lcd_print(row); sprintf_P(row, PSTR(MSG_PWRCONSUMED " %iWh"), power_consumption_hour);
LCD_Printpos(0, 1); lcd_print(row);
#endif
if (LCD_CLICKED) lcd_goto_menu(lcd_main_menu); if (LCD_CLICKED) lcd_goto_menu(lcd_main_menu);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment