rotorcraft uses electrical subsystem like fixedwing - both for lpc21 and stm32

This commit is contained in:
Antoine Drouin
2011-03-22 16:14:34 +01:00
parent 2c3e0a3892
commit 4c804a1dca
17 changed files with 119 additions and 520 deletions
+6
View File
@@ -48,6 +48,9 @@
#ifdef USE_SPI
#include "mcu_periph/spi.h"
#endif
#ifdef USE_DAC
#include "mcu_periph/dac.h"
#endif
#endif /* PERIPHERALS_AUTO_INIT */
void mcu_init(void) {
@@ -98,6 +101,9 @@ void mcu_init(void) {
#ifdef USE_SPI
spi_init();
#endif
#ifdef USE_DAC
dac_init();
#endif
#endif /* PERIPHERALS_AUTO_INIT */
}