[MOD] Removed redundant NSS pull

This commit is contained in:
jgromes 2023-04-30 22:11:05 +02:00
parent e1853ddf04
commit 2eff7a358f

View file

@ -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);
}