mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Preset CS lines for SPI devices initial high
This commit is contained in:
parent
dc69c03886
commit
682d4d4014
13 changed files with 105 additions and 41 deletions
|
@ -397,6 +397,7 @@ void max7456Init(const vcdProfile_t *pVcdProfile)
|
|||
#endif
|
||||
IOInit(max7456CsPin, OWNER_OSD_CS, 0);
|
||||
IOConfigGPIO(max7456CsPin, SPI_IO_CS_CFG);
|
||||
IOHi(max7456CsPin);
|
||||
|
||||
spiSetDivisor(MAX7456_SPI_INSTANCE, SPI_CLOCK_STANDARD);
|
||||
// force soft reset on Max7456
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue