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
9947f434
Commit
9947f434
authored
May 11, 2016
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code cleanup
parent
e9f9ce81
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
MK_Main.cpp
MK/module/MK_Main.cpp
+1
-1
MK_Main.h
MK/module/MK_Main.h
+1
-1
temperature.cpp
MK/module/temperature/temperature.cpp
+1
-1
No files found.
MK/module/MK_Main.cpp
View file @
9947f434
...
...
@@ -9358,7 +9358,7 @@ void kill(const char* lcd_msg) {
}
#endif
#if ENABLED(FAST_PWM_FAN) || ENABLED(
LASER_COOLER_COOLING
)
#if ENABLED(FAST_PWM_FAN) || ENABLED(
FAST_PWM_COOLER
)
void
setPwmFrequency
(
uint8_t
pin
,
int
val
)
{
val
&=
0x07
;
...
...
MK/module/MK_Main.h
View file @
9947f434
...
...
@@ -116,7 +116,7 @@ inline void refresh_cmd_timeout() { previous_cmd_ms = millis(); }
extern
void
delay_ms
(
millis_t
ms
);
#if ENABLED(FAST_PWM_FAN) || ENABLED(FAST_
COOLER_PWM
)
#if ENABLED(FAST_PWM_FAN) || ENABLED(FAST_
PWM_COOLER
)
void
setPwmFrequency
(
uint8_t
pin
,
int
val
);
#endif
...
...
MK/module/temperature/temperature.cpp
View file @
9947f434
...
...
@@ -1277,7 +1277,7 @@ void tp_init() {
#endif
#if HAS(COOLER_DEV)
SET_OUTPUT
(
COOLER_PIN
);
#if ENABLED(FAST_
COOLER_PWM
)
#if ENABLED(FAST_
PWM_COOLER
)
setPwmFrequency
(
COOLER_PIN
,
2
);
// No prescaling. Pwm frequency = F_CPU/256/64
#endif
#endif
...
...
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