1
0
Fork 0
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:
Steve Evans 2022-09-16 17:26:37 +01:00
parent 3e842b67d4
commit 92e50d548f
3 changed files with 0 additions and 15 deletions

View file

@ -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;