[spi] add spi_init_slaves back and fix makefile for b2

This commit is contained in:
Gautier Hattenberger
2012-11-13 16:44:47 +01:00
parent 494d40f2fc
commit 91dd732f88
2 changed files with 6 additions and 3 deletions
+3
View File
@@ -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