mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Do not automatically negate CS at end of SPI transfer
This commit is contained in:
parent
3e842b67d4
commit
92e50d548f
3 changed files with 0 additions and 15 deletions
|
@ -408,11 +408,6 @@ static void spiIrqHandler(const extDevice_t *dev)
|
|||
nextSegment = (busSegment_t *)bus->curSegment + 1;
|
||||
|
||||
if (nextSegment->len == 0) {
|
||||
if (!bus->curSegment->negateCS) {
|
||||
// Negate Chip Select if not done so already
|
||||
IOHi(dev->busType_u.spi.csnPin);
|
||||
}
|
||||
|
||||
// If a following transaction has been linked, start it
|
||||
if (nextSegment->u.link.dev) {
|
||||
const extDevice_t *nextDev = nextSegment->u.link.dev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue