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

nrf52dk: Adapt SPI periph config

This commit is contained in:
Koen Zandberg 2020-05-11 21:08:26 +02:00
parent 93acc998c4
commit d15987bc9b
No known key found for this signature in database
GPG Key ID: 0895A893E6D2985B

View File

@ -34,10 +34,11 @@ extern "C" {
*/
static const spi_conf_t spi_config[] = {
{
.dev = NRF_SPI0,
.dev = NRF_SPIM0,
.sclk = GPIO_PIN(0, 25),
.mosi = GPIO_PIN(0, 23),
.miso = GPIO_PIN(0, 24),
.ppi = 0,
}
};
#define SPI_NUMOF ARRAY_SIZE(spi_config)