[SX128x] Simplify SPI slowdown

development
jgromes 2021-02-05 23:25:07 +01:00
rodzic bac2be1576
commit b24a523c37
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1429,7 +1429,7 @@ int16_t SX128x::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