mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Support dual gyros sharing a common SPI bus
This commit is contained in:
parent
a1c6cda572
commit
7ef7795944
10 changed files with 114 additions and 45 deletions
|
@ -361,6 +361,7 @@ static uint32_t m25p16_pageProgramContinue(flashDevice_t *fdevice, uint8_t const
|
|||
segments[DATA1].negateCS = true;
|
||||
segments[DATA1].callback = m25p16_callbackWriteComplete;
|
||||
// Mark segment following data as being of zero length
|
||||
segments[DATA2].txData = (uint8_t *)NULL;
|
||||
segments[DATA2].len = 0;
|
||||
} else if (bufferCount == 2) {
|
||||
segments[DATA1].negateCS = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue