cpu/lm4f120: drop useless periph timer guards
This commit is contained in:
parent
ddfc5843bb
commit
5d633cd6d1
@ -27,8 +27,6 @@
|
|||||||
#define ENABLE_DEBUG (0)
|
#define ENABLE_DEBUG (0)
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
#ifdef SPI_NUMOF
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Array holding one pre-initialized mutex for each SPI device
|
* @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);
|
gpio_set((gpio_t)cs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* SPI_NUMOF */
|
|
||||||
|
|||||||
@ -29,9 +29,6 @@
|
|||||||
#define ENABLE_DEBUG (0)
|
#define ENABLE_DEBUG (0)
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
/* guard file in case no timers are defined */
|
|
||||||
#if TIMER_NUMOF
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Struct holding the configuration data
|
* @brief Struct holding the configuration data
|
||||||
* @{
|
* @{
|
||||||
@ -344,6 +341,4 @@ void isr_wtimer1a(void)
|
|||||||
cortexm_isr_end();
|
cortexm_isr_end();
|
||||||
}
|
}
|
||||||
#endif /* TIMER_1_EN */
|
#endif /* TIMER_1_EN */
|
||||||
|
|
||||||
#endif /* TIMER_NUMOF */
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user