From 12b13e75b3f28da413052f566c15fb95096c8d97 Mon Sep 17 00:00:00 2001 From: arthurv Date: Tue, 30 Jan 2018 17:41:58 +0000 Subject: [PATCH] fix SPI.setBitOrder() fixes SPI.setBitOrder() not responding to MSB or LSB setting. --- libraries/SPI/src/SPI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/SPI/src/SPI.cpp b/libraries/SPI/src/SPI.cpp index 260c7426..1e170076 100644 --- a/libraries/SPI/src/SPI.cpp +++ b/libraries/SPI/src/SPI.cpp @@ -160,6 +160,7 @@ void SPIClass::setBitOrder(BitOrder bitOrder) _selected = false; } + _bitOrder = bitOrder; } void SPIClass::setDataMode(uint8_t dataMode)