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
f6944831
Commit
f6944831
authored
8 years ago
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation when PIDTEMPBED is disabled and PIDTEMPCOOLER is enabled
parent
8240bff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
MK_Main.cpp
MK/module/MK_Main.cpp
+2
-0
No files found.
MK/module/MK_Main.cpp
View file @
f6944831
...
...
@@ -6508,6 +6508,7 @@ inline void gcode_M226() {
#if ENABLED(PIDTEMPCOOLER) && ENABLED(PIDTEMPBED)
else
{
#endif
#if ENABLED(PIDTEMPBED)
if
(
code_seen
(
'P'
))
bedKp
=
code_value
();
if
(
code_seen
(
'I'
))
bedKi
=
scalePID_i
(
code_value
());
if
(
code_seen
(
'D'
))
bedKd
=
scalePID_d
(
code_value
());
...
...
@@ -6516,6 +6517,7 @@ inline void gcode_M226() {
ECHO_SMV
(
OK
,
"p:"
,
bedKp
);
ECHO_MV
(
" i:"
,
unscalePID_i
(
bedKi
));
ECHO_EMV
(
" d:"
,
unscalePID_d
(
bedKd
));
#endif
#if ENABLED(PIDTEMPCOOLER) && ENABLED(PIDTEMPBED)
}
#endif
...
...
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