Skip to content

Commit 91390ac

Browse files
facchinmpennam
authored andcommitted
fix: SPI: remove holes between transfer()
Fixes #145
1 parent b502d06 commit 91390ac

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

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

0 commit comments

Comments
 (0)