[MOD] Removed redundant NSS pull
This commit is contained in:
parent
e1853ddf04
commit
2eff7a358f
1 changed files with 0 additions and 1 deletions
|
@ -250,7 +250,6 @@ int16_t Module::SPItransferStream(uint8_t* cmd, uint8_t cmdLen, bool write, uint
|
||||||
while(this->hal->digitalRead(this->gpioPin)) {
|
while(this->hal->digitalRead(this->gpioPin)) {
|
||||||
this->hal->yield();
|
this->hal->yield();
|
||||||
if(this->hal->millis() - start >= timeout) {
|
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?");
|
RADIOLIB_DEBUG_PRINTLN("Timed out waiting for GPIO pin, is it connected?");
|
||||||
return(RADIOLIB_ERR_SPI_CMD_TIMEOUT);
|
return(RADIOLIB_ERR_SPI_CMD_TIMEOUT);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue