mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
F7 spi rework
This commit is contained in:
parent
ac45a4687a
commit
b3a48c1a01
3 changed files with 63 additions and 96 deletions
|
@ -79,6 +79,11 @@ typedef struct SPIDevice_s {
|
|||
uint8_t af;
|
||||
volatile uint16_t errorCount;
|
||||
bool leadingEdge;
|
||||
#if defined(STM32F7)
|
||||
SPI_HandleTypeDef hspi;
|
||||
DMA_HandleTypeDef hdma;
|
||||
uint8_t dmaIrqHandler;
|
||||
#endif
|
||||
} spiDevice_t;
|
||||
|
||||
bool spiInit(SPIDevice device);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue