Skip to content

Commit

Permalink
boards/common/nrf52xxxdk: Use GPIO_PIN in SPI conf
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Jun 14, 2019
1 parent 4914400 commit d925540
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions boards/common/nrf52xxxdk/include/periph_conf_common.h
Expand Up @@ -37,9 +37,9 @@ extern "C" {
static const spi_conf_t spi_config[] = {
{
.dev = NRF_SPI0,
.sclk = 15,
.mosi = 13,
.miso = 14
.sclk = GPIO_PIN(0, 15),
.mosi = GPIO_PIN(0, 13),
.miso = GPIO_PIN(0, 14),
}
};

Expand Down

0 comments on commit d925540

Please sign in to comment.