1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

COLIBRI RACE support

This commit is contained in:
Larry (TBS) 2015-06-09 19:06:52 +08:00 committed by Dominic Clifton
parent a373c095e3
commit 3b1f423c49
20 changed files with 819 additions and 7 deletions

View file

@ -34,6 +34,7 @@ static volatile uint16_t spi3ErrorCount = 0;
#ifdef USE_SPI_DEVICE_1
#ifndef SPI1_GPIO
#define SPI1_GPIO GPIOA
#define SPI1_GPIO_PERIPHERAL RCC_AHBPeriph_GPIOB
#define SPI1_SCK_PIN GPIO_Pin_5
@ -45,6 +46,7 @@ static volatile uint16_t spi3ErrorCount = 0;
#define SPI1_MOSI_PIN GPIO_Pin_7
#define SPI1_MOSI_PIN_SOURCE GPIO_PinSource7
#define SPI1_MOSI_CLK RCC_AHBPeriph_GPIOA
#endif
void initSpi1(void)
{