mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 19:47:50 +08:00
rotorcraft uses electrical subsystem like fixedwing - both for lpc21 and stm32
This commit is contained in:
@@ -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 */
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user