1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Merge pull request #5916 from jflyper/bfdev-spiPreInitCs-to-support-configurability

Convert spiPreInit for configurability
This commit is contained in:
Michael Keller 2018-05-26 23:53:25 +12:00 committed by GitHub
commit ce7f112cfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 219 additions and 113 deletions

View file

@ -3580,6 +3580,10 @@ const cliResourceValue_t resourceTable[] = {
#ifdef USE_MAX7456
DEFS( OWNER_OSD_CS, PG_MAX7456_CONFIG, max7456Config_t, csTag ),
#endif
#ifdef USE_SPI
DEFA( OWNER_SPI_PREINIT_IPU, PG_SPI_PREINIT_IPU_CONFIG, spiCs_t, csnTag, SPI_PREINIT_IPU_COUNT ),
DEFA( OWNER_SPI_PREINIT_OPU, PG_SPI_PREINIT_OPU_CONFIG, spiCs_t, csnTag, SPI_PREINIT_OPU_COUNT ),
#endif
};
#undef DEFS