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
6ecfabca
Commit
6ecfabca
authored
May 13, 2016
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ok, now it works. Really.
parent
eaac0a2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
temperature.cpp
MK/module/temperature/temperature.cpp
+4
-7
No files found.
MK/module/temperature/temperature.cpp
View file @
6ecfabca
...
...
@@ -775,10 +775,6 @@ float get_pid_output(int h) {
float
get_pid_output_bed
()
{
float
pid_output
;
// We need this cause 0 is lower than our current temperature probably.
if
(
target_temperature_cooler
<
COOLER_MINTEMP
)
return
0
;
#if ENABLED(PID_OPENLOOP)
pid_output
=
constrain
(
target_temperature_bed
,
0
,
MAX_BED_POWER
);
#else
...
...
@@ -817,10 +813,11 @@ float get_pid_output(int h) {
#if ENABLED(PIDTEMPCOOLER)
float
get_pid_output_cooler
()
{
float
pid_output
;
float
pid_output
;
if
(
target_temperature_cooler
==
0
)
return
0
// We need this cause 0 is lower than our current temperature probably.
if
(
target_temperature_cooler
<
COOLER_MINTEMP
)
return
0.0
;
#if ENABLED(PID_OPENLOOP)
pid_output
=
constrain
(
target_temperature_cooler
,
0
,
MAX_COOLER_POWER
);
...
...
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