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
eb3dddc8
Commit
eb3dddc8
authored
May 11, 2016
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid to call print_heaterstatus() when no heaters are available
parent
34d153b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
MK_Main.cpp
MK/module/MK_Main.cpp
+3
-1
No files found.
MK/module/MK_Main.cpp
View file @
eb3dddc8
...
@@ -3037,7 +3037,9 @@ inline void wait_bed(bool no_wait_for_cooling = true) {
...
@@ -3037,7 +3037,9 @@ inline void wait_bed(bool no_wait_for_cooling = true) {
now
=
millis
();
now
=
millis
();
if
(
ELAPSED
(
now
,
next_temp_ms
))
{
//Print Temp Reading every 1 second while heating up.
if
(
ELAPSED
(
now
,
next_temp_ms
))
{
//Print Temp Reading every 1 second while heating up.
next_temp_ms
=
now
+
1000UL
;
next_temp_ms
=
now
+
1000UL
;
print_heaterstates
();
#if HAS(TEMP_0) || HAS(TEMP_BED)
print_heaterstates
();
#endif
#if TEMP_BED_RESIDENCY_TIME > 0
#if TEMP_BED_RESIDENCY_TIME > 0
ECHO_M
(
SERIAL_W
);
ECHO_M
(
SERIAL_W
);
if
(
residency_start_ms
)
{
if
(
residency_start_ms
)
{
...
...
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