Skip to content

Commit

Permalink
fixup! cpu/fe310: implement SPI
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Dec 16, 2019
1 parent 298a1a3 commit 88290d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/fe310/periph/spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void spi_init_pins(spi_t dev)
const gpio_t spi1_pins =
(1 << spi_config[dev].mosi) |
(1 << spi_config[dev].miso) |
(1 << spi_config[dev].cs);
(1 << spi_config[dev].sclk);

/* Enable I/O Function 0 */
GPIO_REG(GPIO_IOF_EN) |= spi1_pins;
Expand Down

0 comments on commit 88290d2

Please sign in to comment.