[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);
|
||||
}
|
||||
|
||||
int16_t SX1272::setOutputPower(int8_t power, bool useRfo = false) {
|
||||
int16_t SX1272::setOutputPower(int8_t power, bool useRfo) {
|
||||
// check allowed power range
|
||||
if(useRfo) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ int16_t SX1278::setCodingRate(uint8_t cr) {
|
|||
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
|
||||
if(useRfo) {
|
||||
// RFO output
|
||||
|
|
Loading…
Add table
Reference in a new issue