boards/msb-430: Remove unused UART_x_EN macro

This commit is contained in:
MrKevinWeiss 2020-08-31 16:51:02 +02:00
parent c2e81b3ca7
commit 1acf37c6f3
2 changed files with 6 additions and 8 deletions

View File

@ -51,7 +51,6 @@ extern "C" {
* @{ * @{
*/ */
#define UART_NUMOF (1U) #define UART_NUMOF (1U)
#define UART_0_EN (1U)
#define UART_BASE (USART_1) #define UART_BASE (USART_1)
#define UART_IE (SFR->IE2) #define UART_IE (SFR->IE2)
@ -81,9 +80,9 @@ extern "C" {
#define SPI_IE_TX_BIT (1 << 7) #define SPI_IE_TX_BIT (1 << 7)
#define SPI_ME (SFR->ME1) #define SPI_ME (SFR->ME1)
#define SPI_ME_BIT (1 << 6) #define SPI_ME_BIT (1 << 6)
#define SPI_PIN_MISO GPIO_PIN(P5,2) #define SPI_PIN_MISO GPIO_PIN(P5, 2)
#define SPI_PIN_MOSI GPIO_PIN(P5,1) #define SPI_PIN_MOSI GPIO_PIN(P5, 1)
#define SPI_PIN_CLK GPIO_PIN(P5,3) #define SPI_PIN_CLK GPIO_PIN(P5, 3)
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus

View File

@ -53,7 +53,6 @@ extern "C" {
* @{ * @{
*/ */
#define UART_NUMOF (1U) #define UART_NUMOF (1U)
#define UART_0_EN (1U)
#define UART_BASE (USART_1) #define UART_BASE (USART_1)
#define UART_IE (SFR->IE2) #define UART_IE (SFR->IE2)
@ -83,9 +82,9 @@ extern "C" {
#define SPI_IE_TX_BIT (1 << 7) #define SPI_IE_TX_BIT (1 << 7)
#define SPI_ME (SFR->ME1) #define SPI_ME (SFR->ME1)
#define SPI_ME_BIT (1 << 6) #define SPI_ME_BIT (1 << 6)
#define SPI_PIN_MISO GPIO_PIN(P3,2) #define SPI_PIN_MISO GPIO_PIN(P3, 2)
#define SPI_PIN_MOSI GPIO_PIN(P3,1) #define SPI_PIN_MOSI GPIO_PIN(P3, 1)
#define SPI_PIN_CLK GPIO_PIN(P3,3) #define SPI_PIN_CLK GPIO_PIN(P3, 3)
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus