Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
ee2e2dd6
Commit
ee2e2dd6
authored
9 years ago
by
Simone Primarosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 4.1.5 dev
parent
b642a8f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ultralcd.cpp
MarlinKimbra/ultralcd.cpp
+4
-2
No files found.
MarlinKimbra/ultralcd.cpp
View file @
ee2e2dd6
...
...
@@ -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
;
sprintf_P
(
row
,
PSTR
(
MSG_ONFOR
" %id %ih %im"
),
day
,
hours
,
minutes
);
LCD_Printpos
(
0
,
0
);
lcd_print
(
row
);
sprintf_P
(
row
,
PSTR
(
MSG_PWRCONSUMED
" %iWh"
),
power_consumption_hour
);
LCD_Printpos
(
0
,
1
);
lcd_print
(
row
);
#if HAS_POWER_CONSUMPTION_SENSOR
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
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment