1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #7423 from haukepetersen/fix_nucleo-l476_spiaf

boards/nucleo-l476: fixed AF for SPI pin config
This commit is contained in:
Peter Kietzmann 2017-07-27 15:07:42 +02:00 committed by GitHub
commit 8816af5d09

View File

@ -211,7 +211,7 @@ static const spi_conf_t spi_config[] = {
.miso_pin = GPIO_PIN(PORT_A, 6),
.sclk_pin = GPIO_PIN(PORT_A, 5),
.cs_pin = GPIO_UNDEF,
.af = GPIO_AF0,
.af = GPIO_AF5,
.rccmask = RCC_APB2ENR_SPI1EN,
.apbbus = APB2
}