mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Merge pull request #4234 from jflyper/bfdev-max7456-preinit-output-hi
Preinit for MAX7456 on Kakute F4 requires output hi.
This commit is contained in:
commit
793ed1a7f3
3 changed files with 21 additions and 2 deletions
|
@ -213,7 +213,7 @@ void spiPreInit(void)
|
|||
spiPreInitCs(IO_TAG(L3GD20_CS_PIN));
|
||||
#endif
|
||||
#ifdef USE_MAX7456
|
||||
spiPreInitCs(IO_TAG(MAX7456_SPI_CS_PIN));
|
||||
spiPreInitCsOutPU(IO_TAG(MAX7456_SPI_CS_PIN)); // XXX 3.2 workaround for Kakute F4. See comment for spiPreInitCSOutPU.
|
||||
#endif
|
||||
#ifdef USE_SDCARD
|
||||
spiPreInitCs(IO_TAG(SDCARD_SPI_CS_PIN));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue