Skip to content

Commit 97235e3

Browse files
committed
SPI: remove SPI_LOCK_ON to allow switching 8/16 bit mode
1 parent a614f3b commit 97235e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SPI/SPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void arduino::ZephyrSPI::notUsingInterrupt(int interruptNumber) {
5656
}
5757

5858
void arduino::ZephyrSPI::beginTransaction(SPISettings settings) {
59-
mode = SPI_HOLD_ON_CS | SPI_LOCK_ON;
59+
mode = SPI_HOLD_ON_CS;
6060

6161
// Set bus mode
6262
switch (settings.getBusMode()) {

0 commit comments

Comments
 (0)