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
cfe2e4d4
Commit
cfe2e4d4
authored
May 11, 2016
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing ;
parent
a1f074de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
temperature.cpp
MK/module/temperature/temperature.cpp
+2
-2
No files found.
MK/module/temperature/temperature.cpp
View file @
cfe2e4d4
...
@@ -100,7 +100,7 @@ unsigned char soft_pwm_bed;
...
@@ -100,7 +100,7 @@ unsigned char soft_pwm_bed;
unsigned
char
soft_pwm_cooler
;
unsigned
char
soft_pwm_cooler
;
void
setPwmCooler
(
unsigned
char
pwm
);
void
setPwmCooler
(
unsigned
char
pwm
);
unsigned
char
getPwmCooler
(
bool
soft
=
true
);
unsigned
char
getPwmCooler
(
bool
soft
);
#if ENABLED(BABYSTEPPING)
#if ENABLED(BABYSTEPPING)
...
@@ -1017,7 +1017,7 @@ void manage_temp_controller() {
...
@@ -1017,7 +1017,7 @@ void manage_temp_controller() {
#else // COOLER_LIMIT_SWITCHING
#else // COOLER_LIMIT_SWITCHING
// Check if temperature is within the correct range
// Check if temperature is within the correct range
if
(
current_temperature_cooler
>
COOLER_MINTEMP
&&
current_temperature_cooler
<
COOLER_MAXTEMP
)
{
if
(
current_temperature_cooler
>
COOLER_MINTEMP
&&
current_temperature_cooler
<
COOLER_MAXTEMP
)
{
setPwmCooler
(
current_temperature_cooler
>
target_temperature_cooler
?
MAX_COOLER_POWER
:
0
)
setPwmCooler
(
current_temperature_cooler
>
target_temperature_cooler
?
MAX_COOLER_POWER
:
0
)
;
}
}
else
{
else
{
setPwmCooler
(
0
);
setPwmCooler
(
0
);
...
...
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