FL-443 Move sd card to second spi (#271)

* sd card spi 2 fix, add spi mgr
This commit is contained in:
DrZlo13
2020-12-19 17:52:17 +10:00
committed by GitHub
parent 73ecc7cde6
commit 8b6e7fd4ae
10 changed files with 127 additions and 42 deletions

View File

@@ -155,7 +155,7 @@ void Error_Handler(void);
#define SPI_R hspi1
#define SPI_D hspi2
#define SPI_SD_HANDLE SPI_R
#define SPI_SD_HANDLE SPI_D
extern TIM_HandleTypeDef htim1;
extern TIM_HandleTypeDef htim2;