mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Make SPI access chaining more resilient to driver coding errors as fixed in 8474a6eb
This commit is contained in:
parent
8474a6eb7d
commit
b18a114e45
3 changed files with 7 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