1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nrf52: remove uint8_t cast for GPIO_UNDEF

This commit is contained in:
Alexandre Abadie 2020-02-19 14:43:22 +01:00
parent 9cebd757a2
commit 6182e7c977
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405
7 changed files with 16 additions and 16 deletions

View File

@ -39,8 +39,8 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,24),
.tx_pin = GPIO_PIN(0,25),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
};

View File

@ -40,8 +40,8 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,19),
.tx_pin = GPIO_PIN(0,20),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
};

View File

@ -50,16 +50,16 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,8),
.tx_pin = GPIO_PIN(0,6),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
{ /* Mapped to Arduino D0/D1 pins */
.dev = NRF_UARTE1,
.rx_pin = GPIO_PIN(1,1),
.tx_pin = GPIO_PIN(1,2),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE1_IRQn,
},
};

View File

@ -36,8 +36,8 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,8),
.tx_pin = GPIO_PIN(0,6),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
{

View File

@ -36,8 +36,8 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,8),
.tx_pin = GPIO_PIN(0,6),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
{

View File

@ -36,8 +36,8 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,8),
.tx_pin = GPIO_PIN(0,6),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
};

View File

@ -39,8 +39,8 @@ static const uart_conf_t uart_config[] = {
.dev = NRF_UARTE0,
.rx_pin = GPIO_PIN(0,8),
.tx_pin = GPIO_PIN(0,6),
.rts_pin = (uint8_t)GPIO_UNDEF,
.cts_pin = (uint8_t)GPIO_UNDEF,
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
.irqn = UARTE0_UART0_IRQn,
},
};