mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
kinetis: Align defines in uart.c
This commit is contained in:
parent
291922be34
commit
8f3fb59840
@ -34,17 +34,17 @@
|
||||
|
||||
#ifndef KINETIS_HAVE_LPUART
|
||||
#ifdef LPUART0
|
||||
#define KINETIS_HAVE_LPUART 1
|
||||
#define KINETIS_HAVE_LPUART 1
|
||||
#else
|
||||
#define KINETIS_HAVE_LPUART 0
|
||||
#define KINETIS_HAVE_LPUART 0
|
||||
#endif
|
||||
#endif /* KINETIS_HAVE_LPUART */
|
||||
|
||||
#ifndef KINETIS_HAVE_UART
|
||||
#ifdef UART0
|
||||
#define KINETIS_HAVE_UART 1
|
||||
#define KINETIS_HAVE_UART 1
|
||||
#else
|
||||
#define KINETIS_HAVE_UART 0
|
||||
#define KINETIS_HAVE_UART 0
|
||||
#endif
|
||||
#endif /* KINETIS_HAVE_LPUART */
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
* using the BRFA field in the UART C4 register.
|
||||
*/
|
||||
#ifdef UART_C4_BRFA
|
||||
#define KINETIS_UART_ADVANCED 1
|
||||
#define KINETIS_UART_ADVANCED 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user