Fixed compiling issues
This commit is contained in:
parent
7535faad32
commit
9329214405
4 changed files with 4 additions and 2 deletions
|
@ -660,7 +660,6 @@ int16_t CC1101::setOOK(bool enableOOK) {
|
|||
return(setOutputPower(_power));
|
||||
}
|
||||
|
||||
|
||||
float CC1101::getRSSI() const {
|
||||
float rssi;
|
||||
if(_rawRSSI >= 128) {
|
||||
|
|
|
@ -881,6 +881,7 @@ class CC1101: public PhysicalLayer {
|
|||
Module* _mod;
|
||||
|
||||
float _freq = 0;
|
||||
float _br = 0;
|
||||
uint8_t _rawRSSI = 0;
|
||||
uint8_t _rawLQI = 0;
|
||||
uint8_t _modulation = CC1101_MOD_FORMAT_2_FSK;
|
||||
|
|
|
@ -369,6 +369,7 @@ int16_t RF69::readData(uint8_t* data, size_t len) {
|
|||
return(ERR_NONE);
|
||||
}
|
||||
|
||||
/*
|
||||
int16_t CC1101::setOOK(bool enableOOK) {
|
||||
// Change modulation
|
||||
if(enableOOK) {
|
||||
|
@ -387,6 +388,7 @@ int16_t CC1101::setOOK(bool enableOOK) {
|
|||
|
||||
return(setOutputPower(_power));
|
||||
}
|
||||
*/
|
||||
|
||||
int16_t RF69::setFrequency(float freq) {
|
||||
// check allowed frequency range
|
||||
|
|
|
@ -621,7 +621,7 @@ class RF69: public PhysicalLayer {
|
|||
|
||||
\returns \ref status_codes
|
||||
*/
|
||||
int16_t setOOK(bool enableOOK);
|
||||
//int16_t setOOK(bool enableOOK);
|
||||
|
||||
/*!
|
||||
\brief Sets carrier frequency. Allowed values are in bands 290.0 to 340.0 MHz, 431.0 to 510.0 MHz and 862.0 to 1020.0 MHz.
|
||||
|
|
Loading…
Add table
Reference in a new issue