From 1acf37c6f3766e6ec50fd22ead99a546045fc427 Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Mon, 31 Aug 2020 16:51:02 +0200 Subject: [PATCH] boards/msb-430: Remove unused UART_x_EN macro --- boards/msb-430/include/periph_conf.h | 7 +++---- boards/msb-430h/include/periph_conf.h | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/boards/msb-430/include/periph_conf.h b/boards/msb-430/include/periph_conf.h index d6d05f1e23..c02e9bd7a3 100644 --- a/boards/msb-430/include/periph_conf.h +++ b/boards/msb-430/include/periph_conf.h @@ -51,7 +51,6 @@ extern "C" { * @{ */ #define UART_NUMOF (1U) -#define UART_0_EN (1U) #define UART_BASE (USART_1) #define UART_IE (SFR->IE2) @@ -81,9 +80,9 @@ extern "C" { #define SPI_IE_TX_BIT (1 << 7) #define SPI_ME (SFR->ME1) #define SPI_ME_BIT (1 << 6) -#define SPI_PIN_MISO GPIO_PIN(P5,2) -#define SPI_PIN_MOSI GPIO_PIN(P5,1) -#define SPI_PIN_CLK GPIO_PIN(P5,3) +#define SPI_PIN_MISO GPIO_PIN(P5, 2) +#define SPI_PIN_MOSI GPIO_PIN(P5, 1) +#define SPI_PIN_CLK GPIO_PIN(P5, 3) /** @} */ #ifdef __cplusplus diff --git a/boards/msb-430h/include/periph_conf.h b/boards/msb-430h/include/periph_conf.h index a1cd85b5e6..519c0d6e2c 100644 --- a/boards/msb-430h/include/periph_conf.h +++ b/boards/msb-430h/include/periph_conf.h @@ -53,7 +53,6 @@ extern "C" { * @{ */ #define UART_NUMOF (1U) -#define UART_0_EN (1U) #define UART_BASE (USART_1) #define UART_IE (SFR->IE2) @@ -83,9 +82,9 @@ extern "C" { #define SPI_IE_TX_BIT (1 << 7) #define SPI_ME (SFR->ME1) #define SPI_ME_BIT (1 << 6) -#define SPI_PIN_MISO GPIO_PIN(P3,2) -#define SPI_PIN_MOSI GPIO_PIN(P3,1) -#define SPI_PIN_CLK GPIO_PIN(P3,3) +#define SPI_PIN_MISO GPIO_PIN(P3, 2) +#define SPI_PIN_MOSI GPIO_PIN(P3, 1) +#define SPI_PIN_CLK GPIO_PIN(P3, 3) /** @} */ #ifdef __cplusplus