kopia lustrzana https://github.com/jgromes/RadioLib
[MOD] Removed redundant NSS pull
rodzic
e1853ddf04
commit
2eff7a358f
|
@ -250,7 +250,6 @@ int16_t Module::SPItransferStream(uint8_t* cmd, uint8_t cmdLen, bool write, uint
|
|||
while(this->hal->digitalRead(this->gpioPin)) {
|
||||
this->hal->yield();
|
||||
if(this->hal->millis() - start >= timeout) {
|
||||
this->hal->digitalWrite(this->csPin, this->hal->GpioLevelLow);
|
||||
RADIOLIB_DEBUG_PRINTLN("Timed out waiting for GPIO pin, is it connected?");
|
||||
return(RADIOLIB_ERR_SPI_CMD_TIMEOUT);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue