[SX126x] Simplify SPI slowdown
This commit is contained in:
parent
aad4b84b89
commit
bac2be1576
1 changed files with 1 additions and 1 deletions
|
@ -1724,7 +1724,7 @@ int16_t SX126x::SPItransfer(uint8_t* cmd, uint8_t cmdLen, bool write, uint8_t* d
|
|||
// some faster platforms require a short delay here
|
||||
// not sure why, but it seems that long enough SPI transaction
|
||||
// (e.g. setPacketParams for GFSK) will fail without it
|
||||
#if defined(ARDUINO_ARCH_STM32) || defined(SAMD_SERIES)
|
||||
#if defined(RADIOLIB_SPI_SLOWDOWN)
|
||||
Module::delay(1);
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue