1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

Refactor SPI

This commit is contained in:
jflyper 2017-11-13 10:00:45 +09:00
parent 8e0f32009c
commit e5e5846a74
8 changed files with 200 additions and 305 deletions

View file

@ -70,3 +70,6 @@ typedef struct SPIDevice_s {
} spiDevice_t;
extern spiDevice_t spiDevice[SPIDEV_COUNT];
void spiInitDevice(SPIDevice device);
uint32_t spiTimeoutUserCallback(SPI_TypeDef *instance);