We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735e96d commit 47d7f77Copy full SHA for 47d7f77
src/LoRa.cpp
@@ -765,14 +765,12 @@ uint8_t LoRaClass::singleTransfer(uint8_t address, uint8_t value)
765
{
766
uint8_t response;
767
768
- digitalWrite(_ss, LOW);
769
-
770
_spi->beginTransaction(_spiSettings);
+ digitalWrite(_ss, LOW);
771
_spi->transfer(address);
772
response = _spi->transfer(value);
773
- _spi->endTransaction();
774
775
digitalWrite(_ss, HIGH);
+ _spi->endTransaction();
776
777
return response;
778
}
0 commit comments