Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
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
Container registry
Model registry
Operate
Environments
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
cm-projects
RIOT
Commits
5a85e288
Commit
5a85e288
authored
7 years ago
by
Joakim Nohlgård
Browse files
Options
Downloads
Patches
Plain Diff
frdm-k22f: Correct copy pasta in LEDx macros
parent
2e0917cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
boards/frdm-k22f/include/board.h
+9
-9
9 additions, 9 deletions
boards/frdm-k22f/include/board.h
with
9 additions
and
9 deletions
boards/frdm-k22f/include/board.h
+
9
−
9
View file @
5a85e288
...
@@ -41,17 +41,17 @@ extern "C"
...
@@ -41,17 +41,17 @@ extern "C"
#define LED1_MASK (1 << 2)
#define LED1_MASK (1 << 2)
#define LED2_MASK (1 << 5)
#define LED2_MASK (1 << 5)
#define LED0_ON (GPIO
B
->PCOR = LED0_MASK)
#define LED0_ON (GPIO
A
->PCOR = LED0_MASK)
#define LED0_OFF (GPIO
B
->PSOR = LED0_MASK)
#define LED0_OFF (GPIO
A
->PSOR = LED0_MASK)
#define LED0_TOGGLE (GPIO
B
->PTOR = LED0_MASK)
#define LED0_TOGGLE (GPIO
A
->PTOR = LED0_MASK)
#define LED1_ON (GPIO
E
->PCOR = LED1_MASK)
#define LED1_ON (GPIO
A
->PCOR = LED1_MASK)
#define LED1_OFF (GPIO
E
->PSOR = LED1_MASK)
#define LED1_OFF (GPIO
A
->PSOR = LED1_MASK)
#define LED1_TOGGLE (GPIO
E
->PTOR = LED1_MASK)
#define LED1_TOGGLE (GPIO
A
->PTOR = LED1_MASK)
#define LED2_ON (GPIO
B
->PCOR = LED2_MASK)
#define LED2_ON (GPIO
D
->PCOR = LED2_MASK)
#define LED2_OFF (GPIO
B
->PSOR = LED2_MASK)
#define LED2_OFF (GPIO
D
->PSOR = LED2_MASK)
#define LED2_TOGGLE (GPIO
B
->PTOR = LED2_MASK)
#define LED2_TOGGLE (GPIO
D
->PTOR = LED2_MASK)
/** @} */
/** @} */
/**
/**
...
...
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