mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #11897 from SteveCEvans/spi2_gyro_flash
Fix chaining of FLASH SPI transactions
This commit is contained in:
commit
c5468981e6
4 changed files with 14 additions and 4 deletions
|
@ -415,6 +415,7 @@ static void spiIrqHandler(const extDevice_t *dev)
|
|||
// The end of the segment list has been reached
|
||||
bus->curSegment = nextSegments;
|
||||
nextSegment->u.link.dev = NULL;
|
||||
nextSegment->u.link.segments = NULL;
|
||||
spiSequenceStart(nextDev);
|
||||
} else {
|
||||
// The end of the segment list has been reached, so mark transactions as complete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue