[SX127x] Update macro names
This commit is contained in:
parent
22ae7dfd9b
commit
03126f79d3
2 changed files with 4 additions and 4 deletions
|
@ -944,11 +944,11 @@ int16_t SX127x::setOokPeakThresholdDecrement(uint8_t value) {
|
|||
}
|
||||
|
||||
int16_t SX127x::enableBitSync() {
|
||||
return(_mod->SPIsetRegValue(SX127X_REG_OOK_PEAK, SX127X_BIT_SYNC_ON, 5, 5, 5));
|
||||
return(_mod->SPIsetRegValue(RADIOLIB_SX127X_REG_OOK_PEAK, RADIOLIB_SX127X_BIT_SYNC_ON, 5, 5, 5));
|
||||
}
|
||||
|
||||
int16_t SX127x::disableBitSync() {
|
||||
return(_mod->SPIsetRegValue(SX127X_REG_OOK_PEAK, SX127X_BIT_SYNC_OFF, 5, 5, 5));
|
||||
return(_mod->SPIsetRegValue(RADIOLIB_SX127X_REG_OOK_PEAK, RADIOLIB_SX127X_BIT_SYNC_OFF, 5, 5, 5));
|
||||
}
|
||||
|
||||
int16_t SX127x::setOOK(bool enableOOK) {
|
||||
|
|
|
@ -914,7 +914,7 @@ class SX127x: public PhysicalLayer {
|
|||
/*!
|
||||
\brief Period of decrement of the RSSI threshold in the OOK demodulator.
|
||||
|
||||
\param value Use defines SX127X_OOK_PEAK_THRESH_DEC_X_X_CHIP
|
||||
\param value Use defines RADIOLIB_SX127X_OOK_PEAK_THRESH_DEC_X_X_CHIP
|
||||
|
||||
\returns \ref status_codes
|
||||
*/
|
||||
|
@ -923,7 +923,7 @@ class SX127x: public PhysicalLayer {
|
|||
/*!
|
||||
\brief Fixed threshold for the Data Slicer in OOK mode or floor threshold for the Data Slicer in OOK when Peak mode is used.
|
||||
|
||||
\param value The actual value is devided by 2 because (0.5db step). ie: value=12 means 6dB
|
||||
\param value Threshold level in steps of 0.5 dB.
|
||||
|
||||
\returns \ref status_codes
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue