[SX128x] Added SPI delay for SAMD cores

pull/163/head
jgromes 2020-06-20 21:09:12 +02:00
rodzic 06c254bc6e
commit 6bdef76031
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1412,7 +1412,7 @@ int16_t SX128x::SPItransfer(uint8_t* cmd, uint8_t cmdLen, bool write, uint8_t* d
// some faster platforms require a short delay here // some faster platforms require a short delay here
// not sure why, but it seems that long enough SPI transaction // not sure why, but it seems that long enough SPI transaction
// (e.g. setPacketParams for GFSK) will fail without it // (e.g. setPacketParams for GFSK) will fail without it
#if defined(ARDUINO_ARCH_STM32) #if defined(ARDUINO_ARCH_STM32) || defined(SAMD_SERIES)
delay(1); delay(1);
#endif #endif
#endif #endif