Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
f5b4e1ef
Commit
f5b4e1ef
authored
7 years ago
by
Harald Gutsche
Browse files
Options
Downloads
Patches
Plain Diff
as a workaround enable PWM for any pin, see PR #8622
parent
d1f11e9c
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/HAL/HAL_LPC1768/fastio.h
+4
-1
4 additions, 1 deletion
Marlin/src/HAL/HAL_LPC1768/fastio.h
with
4 additions
and
1 deletion
Marlin/src/HAL/HAL_LPC1768/fastio.h
+
4
−
1
View file @
f5b4e1ef
...
...
@@ -100,7 +100,10 @@ bool useable_hardware_PWM(pin_t pin);
// hg42: instead use PWM bit from the #define
/// check if pin is an timer
#define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
#define _GET_TIMER(IO) TRUE // could be LPC1768_PIN_PWM(IO), but there
// hg42: could be this:
// #define _GET_TIMER(IO) LPC1768_PIN_PWM(IO)
// but this is an incomplete check (12 pins are PWMable, but only 6 can be used at the same time)
/// Read a pin wrapper
#define READ(IO) _READ(IO)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment