mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 05:17:03 +08:00
[spi] add spi_init_slaves back and fix makefile for b2
This commit is contained in:
@@ -109,6 +109,9 @@ void mcu_init(void) {
|
||||
#if USE_SPI2
|
||||
spi2_init();
|
||||
#endif
|
||||
#if USE_SPI0 || USE_SPI1 || USE_SPI2
|
||||
spi_init_slaves();
|
||||
#endif
|
||||
#if USE_SPI0_SLAVE
|
||||
spi0_slave_init();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user