Skip to content
Snippets Groups Projects
Unverified Commit 04e180dd authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

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
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment