Skip to content

Commit

Permalink
boards: fix whitespace style issues
Browse files Browse the repository at this point in the history
This adds the space missing after the comma in `GPIO_PORT(<port>,<pin>`
at multiple places
  • Loading branch information
maribu committed Nov 27, 2024
1 parent 436a6ae commit 30e5120
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions boards/arduino-mkrwan1300/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ extern "C" {
static const uart_conf_t uart_config[] = {
{
.dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23), /* ARDUINO_PIN_13, RX Pin */
.tx_pin = GPIO_PIN(PB,22), /* ARDUINO_PIN_14, TX Pin */
.rx_pin = GPIO_PIN(PB, 23), /* ARDUINO_PIN_13, RX Pin */
.tx_pin = GPIO_PIN(PB, 22), /* ARDUINO_PIN_14, TX Pin */
#ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
Expand All @@ -52,8 +52,8 @@ static const uart_conf_t uart_config[] = {
},
{ /* LoRa module */
.dev = &SERCOM4->USART,
.rx_pin = GPIO_PIN(PA,15),
.tx_pin = GPIO_PIN(PA,12),
.rx_pin = GPIO_PIN(PA, 15),
.tx_pin = GPIO_PIN(PA, 12),
#ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
Expand Down
4 changes: 2 additions & 2 deletions boards/arduino-nano-33-iot/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = {
{
.dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23),
.tx_pin = GPIO_PIN(PB,22),
.rx_pin = GPIO_PIN(PB, 23),
.tx_pin = GPIO_PIN(PB, 22),
#ifdef MODULE_SAM0_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
Expand Down
4 changes: 2 additions & 2 deletions boards/common/arduino-mkr/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ extern "C" {
static const uart_conf_t uart_config[] = {
{
.dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23), /* ARDUINO_PIN_13, RX Pin */
.tx_pin = GPIO_PIN(PB,22), /* ARDUINO_PIN_14, TX Pin */
.rx_pin = GPIO_PIN(PB, 23), /* ARDUINO_PIN_13, RX Pin */
.tx_pin = GPIO_PIN(PB, 22), /* ARDUINO_PIN_14, TX Pin */
#ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
Expand Down
8 changes: 4 additions & 4 deletions boards/common/arduino-zero/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ static const tc32_conf_t timer_config[] = {
static const uart_conf_t uart_config[] = {
{
.dev = &SERCOM5->USART,
.rx_pin = GPIO_PIN(PB,23),
.tx_pin = GPIO_PIN(PB,22),
.rx_pin = GPIO_PIN(PB, 23),
.tx_pin = GPIO_PIN(PB, 22),
#ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
Expand All @@ -141,8 +141,8 @@ static const uart_conf_t uart_config[] = {
},
{
.dev = &SERCOM0->USART,
.rx_pin = GPIO_PIN(PA,11),
.tx_pin = GPIO_PIN(PA,10),
.rx_pin = GPIO_PIN(PA, 11),
.tx_pin = GPIO_PIN(PA, 10),
#ifdef MODULE_PERIPH_UART_HW_FC
.rts_pin = GPIO_UNDEF,
.cts_pin = GPIO_UNDEF,
Expand Down

0 comments on commit 30e5120

Please sign in to comment.