Skip to content

Commit 8862d4e

Browse files
committed
fix: SPI: remove holes between transfer()
Fixes #145
1 parent 9eb88f1 commit 8862d4e

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
@@ -57,7 +57,7 @@ void arduino::ZephyrSPI::notUsingInterrupt(int interruptNumber) {
5757
}
5858

5959
void arduino::ZephyrSPI::beginTransaction(SPISettings settings) {
60-
uint32_t mode = 0;
60+
uint32_t mode = SPI_HOLD_ON_CS | SPI_LOCK_ON;
6161

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

0 commit comments

Comments
 (0)