[SX127x] Removed redundant default argument

This commit is contained in:
jgromes 2021-10-18 21:30:54 +02:00
parent 9d3807168f
commit 8579b2cb1b
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}

View file

@ -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