Skip to content

Commit ba413bb

Browse files
authored
Remove extra SPI byte flip (earlephilhower#1202)
Fixes earlephilhower#1201
1 parent 97e787e commit ba413bb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libraries/SPI/src/SPI.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ void SPIClassRP2040::transfer(void *buf, size_t count) {
135135
uint8_t *buff = reinterpret_cast<uint8_t *>(buf);
136136
for (size_t i = 0; i < count; i++) {
137137
*buff = transfer(*buff);
138-
*buff = (_spis.getBitOrder() == MSBFIRST) ? *buff : reverseByte(*buff);
139138
buff++;
140139
}
141140
DEBUGSPI("SPI::transfer completed\n");

0 commit comments

Comments
 (0)