mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Refactor sdcard_spi.c to use busDevice_t (again)
This commit is contained in:
parent
a598d06fe5
commit
6307277d50
4 changed files with 62 additions and 51 deletions
|
@ -90,8 +90,7 @@ typedef struct sdcard_t {
|
|||
IO_t cardDetectPin;
|
||||
|
||||
#ifdef USE_SDCARD_SPI
|
||||
SPI_TypeDef *instance;
|
||||
IO_t chipSelectPin;
|
||||
busDevice_t busdev;
|
||||
bool useDMAForTx;
|
||||
dmaChannelDescriptor_t * dma;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue