[SX127x] Removed redundant default argument

pull/403/head
jgromes 2021-10-18 21:30:54 +02:00
rodzic 9d3807168f
commit 8579b2cb1b
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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