diff --git a/cpu/sam0_common/periph/spi.c b/cpu/sam0_common/periph/spi.c index f855ad0769c4..fa8b0da5d49a 100644 --- a/cpu/sam0_common/periph/spi.c +++ b/cpu/sam0_common/periph/spi.c @@ -349,7 +349,6 @@ static void _detach_pins(spi_t bus) } } -#if MODULE_PERIPH_SPI_GPIO_MODE int spi_init_with_gpio_mode(spi_t bus, const spi_gpio_mode_t* mode) { assert(bus < SPI_NUMOF); @@ -369,7 +368,6 @@ int spi_init_with_gpio_mode(spi_t bus, const spi_gpio_mode_t* mode) return 0; } -#endif void spi_init_pins(spi_t bus) {