[SX127x] Removed redundant default argument
This commit is contained in:
parent
9d3807168f
commit
8579b2cb1b
2 changed files with 3 additions and 3 deletions
|
@ -208,7 +208,7 @@ int16_t SX1272::setCodingRate(uint8_t cr) {
|
||||||
return(state);
|
return(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t SX1272::setOutputPower(int8_t power, bool useRfo = false) {
|
int16_t SX1272::setOutputPower(int8_t power, bool useRfo) {
|
||||||
// check allowed power range
|
// check allowed power range
|
||||||
if(useRfo) {
|
if(useRfo) {
|
||||||
RADIOLIB_CHECK_RANGE(power, -1, 14, ERR_INVALID_OUTPUT_POWER);
|
RADIOLIB_CHECK_RANGE(power, -1, 14, ERR_INVALID_OUTPUT_POWER);
|
||||||
|
@ -241,7 +241,7 @@ int16_t SX1272::setOutputPower(int8_t power, bool useRfo = false) {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return(state);
|
return(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -222,7 +222,7 @@ int16_t SX1278::setCodingRate(uint8_t cr) {
|
||||||
return(state);
|
return(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
int16_t SX1278::setOutputPower(int8_t power, bool useRfo = false) {
|
int16_t SX1278::setOutputPower(int8_t power, bool useRfo) {
|
||||||
// check allowed power range
|
// check allowed power range
|
||||||
if(useRfo) {
|
if(useRfo) {
|
||||||
// RFO output
|
// RFO output
|
||||||
|
|
Loading…
Add table
Reference in a new issue