Revering unvanted changes
This commit is contained in:
parent
ac4ea556ae
commit
555b90abfa
2 changed files with 4 additions and 4 deletions
|
@ -84,8 +84,8 @@ int16_t SX127x::beginFSK(uint8_t chipVersion, float br, float freqDev, float rxB
|
|||
state = SX127x::setBitRate(br);
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
// set receiver bandwidth
|
||||
state = SX127x::setRxBandwidth(rxBw);
|
||||
// set frequency deviation
|
||||
state = SX127x::setFrequencyDeviation(freqDev);
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
||||
//set AFC bandwidth
|
||||
|
@ -1219,7 +1219,7 @@ bool SX127x::findChip(uint8_t ver) {
|
|||
}
|
||||
|
||||
int16_t SX127x::setMode(uint8_t mode) {
|
||||
return(_mod->SPIsetRegValue(SX127X_REG_OP_MODE, mode, 2, 0, 5));
|
||||
return(_mod->SPIsetRegValue(SX127X_REG_OP_MODE, mode, 2, 0, 2));
|
||||
}
|
||||
|
||||
int16_t SX127x::getActiveModem() {
|
||||
|
|
|
@ -1020,7 +1020,7 @@ class SX127x: public PhysicalLayer {
|
|||
int16_t invertIQ(bool invertIQ);
|
||||
|
||||
#if !defined(RADIOLIB_GODMODE) && !defined(RADIOLIB_LOW_LEVEL)
|
||||
protected:
|
||||
protected:
|
||||
#endif
|
||||
Module* _mod;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue