Fixed a conflict with return brackets.

This commit is contained in:
BarryPSmith 2019-11-13 07:20:21 -08:00
parent b8b05262bc
commit 5acaf1dfb6
2 changed files with 3 additions and 1 deletions

View file

@ -119,4 +119,4 @@ int16_t SX1262::setOutputPower(int8_t power) {
// restore OCP configuration
return(writeRegister(SX126X_REG_OCP_CONFIGURATION, &ocp, 1));
}
}

View file

@ -772,6 +772,8 @@ class SX126x: public PhysicalLayer {
int16_t config(uint8_t modem);
// common low-level SPI interface
int16_t SPIwriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);
int16_t SPIreadCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy = true);