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
04e180dd
Unverified
Commit
04e180dd
authored
7 years ago
by
Gaëtan Harter
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #8719 from gebart/pr/kinetis-lpuart-align
kinetis: Align defines in uart.c
parents
e993717e
8f3fb598
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
cpu/kinetis/periph/uart.c
+5
-5
5 additions, 5 deletions
cpu/kinetis/periph/uart.c
with
5 additions
and
5 deletions
cpu/kinetis/periph/uart.c
+
5
−
5
View file @
04e180dd
...
@@ -34,17 +34,17 @@
...
@@ -34,17 +34,17 @@
#ifndef KINETIS_HAVE_LPUART
#ifndef KINETIS_HAVE_LPUART
#ifdef LPUART0
#ifdef LPUART0
#define KINETIS_HAVE_LPUART
1
#define KINETIS_HAVE_LPUART 1
#else
#else
#define KINETIS_HAVE_LPUART
0
#define KINETIS_HAVE_LPUART 0
#endif
#endif
#endif
/* KINETIS_HAVE_LPUART */
#endif
/* KINETIS_HAVE_LPUART */
#ifndef KINETIS_HAVE_UART
#ifndef KINETIS_HAVE_UART
#ifdef UART0
#ifdef UART0
#define KINETIS_HAVE_UART 1
#define KINETIS_HAVE_UART
1
#else
#else
#define KINETIS_HAVE_UART 0
#define KINETIS_HAVE_UART
0
#endif
#endif
#endif
/* KINETIS_HAVE_LPUART */
#endif
/* KINETIS_HAVE_LPUART */
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
* using the BRFA field in the UART C4 register.
* using the BRFA field in the UART C4 register.
*/
*/
#ifdef UART_C4_BRFA
#ifdef UART_C4_BRFA
#define KINETIS_UART_ADVANCED
1
#define KINETIS_UART_ADVANCED 1
#endif
#endif
#endif
#endif
...
...
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