mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Moved bus_spi parameter group to pg/
.
This commit is contained in:
parent
9184401c45
commit
b38738894c
8 changed files with 122 additions and 72 deletions
|
@ -108,10 +108,5 @@ bool spiBusReadRegisterBuffer(const busDevice_t *bus, uint8_t reg, uint8_t *data
|
|||
uint8_t spiBusReadRegister(const busDevice_t *bus, uint8_t reg);
|
||||
void spiBusSetInstance(busDevice_t *bus, SPI_TypeDef *instance);
|
||||
|
||||
typedef struct spiPinConfig_s {
|
||||
ioTag_t ioTagSck[SPIDEV_COUNT];
|
||||
ioTag_t ioTagMiso[SPIDEV_COUNT];
|
||||
ioTag_t ioTagMosi[SPIDEV_COUNT];
|
||||
} spiPinConfig_t;
|
||||
|
||||
void spiPinConfigure(void);
|
||||
struct spiPinConfig_s;
|
||||
void spiPinConfigure(const struct spiPinConfig_s *pConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue