parent
97e787e48a
commit
ba413bb7ad
1 changed files with 0 additions and 1 deletions
|
|
@ -135,7 +135,6 @@ void SPIClassRP2040::transfer(void *buf, size_t count) {
|
||||||
uint8_t *buff = reinterpret_cast<uint8_t *>(buf);
|
uint8_t *buff = reinterpret_cast<uint8_t *>(buf);
|
||||||
for (size_t i = 0; i < count; i++) {
|
for (size_t i = 0; i < count; i++) {
|
||||||
*buff = transfer(*buff);
|
*buff = transfer(*buff);
|
||||||
*buff = (_spis.getBitOrder() == MSBFIRST) ? *buff : reverseByte(*buff);
|
|
||||||
buff++;
|
buff++;
|
||||||
}
|
}
|
||||||
DEBUGSPI("SPI::transfer completed\n");
|
DEBUGSPI("SPI::transfer completed\n");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue