diff --git a/cpu/lm4f120/periph/spi.c b/cpu/lm4f120/periph/spi.c index ef9fe6f1fc..f9e879f151 100644 --- a/cpu/lm4f120/periph/spi.c +++ b/cpu/lm4f120/periph/spi.c @@ -27,8 +27,6 @@ #define ENABLE_DEBUG (0) #include "debug.h" -#ifdef SPI_NUMOF - /** * @brief Array holding one pre-initialized mutex for each SPI device */ @@ -137,5 +135,3 @@ void spi_transfer_bytes(spi_t bus, spi_cs_t cs, bool cont, gpio_set((gpio_t)cs); } } - -#endif /* SPI_NUMOF */ diff --git a/cpu/lm4f120/periph/timer.c b/cpu/lm4f120/periph/timer.c index 97da40450c..ab37fc8938 100644 --- a/cpu/lm4f120/periph/timer.c +++ b/cpu/lm4f120/periph/timer.c @@ -29,9 +29,6 @@ #define ENABLE_DEBUG (0) #include "debug.h" -/* guard file in case no timers are defined */ -#if TIMER_NUMOF - /** * @brief Struct holding the configuration data * @{ @@ -344,6 +341,4 @@ void isr_wtimer1a(void) cortexm_isr_end(); } #endif /* TIMER_1_EN */ - -#endif /* TIMER_NUMOF */ /** @} */