Skip to content

Commit

Permalink
boards/nucleo-l152re: revert previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed May 20, 2019
1 parent 7b80718 commit 3d2b16d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions boards/nucleo-l152re/Makefile.dep
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
# Use custom SPI pin modes to minimize power consumption
FEATURES_REQUIRED += periph_spi_gpio_mode

include $(RIOTBOARD)/common/nucleo/Makefile.dep
5 changes: 0 additions & 5 deletions boards/nucleo-l152re/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@ 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,
#ifdef MODULE_PERIPH_SPI_GPIO_MODE
.mosi_pin_mode = (GPIO_OUT | GPIO_IN_PD),
.miso_pin_mode = (GPIO_IN_PD),
.sclk_pin_mode = (GPIO_OUT | GPIO_IN_PD),
#endif
.af = GPIO_AF5,
.rccmask = RCC_APB2ENR_SPI1EN,
.apbbus = APB2,
Expand Down

0 comments on commit 3d2b16d

Please sign in to comment.