1
0
Fork 0
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:
jflyper 2018-10-04 12:01:52 +09:00
parent a598d06fe5
commit 6307277d50
4 changed files with 62 additions and 51 deletions

View file

@ -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