Apply suggestion from @weebl2000
Co-authored-by: Wessel <wessel@weebl.me>
This commit is contained in:
@@ -37,7 +37,7 @@ void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr) {
|
|||||||
radio.setCodingRate(cr);
|
radio.setCodingRate(cr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void radio_set_tx_power(uint8_t dbm) {
|
void radio_set_tx_power(int8_t dbm) {
|
||||||
radio.setOutputPower(dbm);
|
radio.setOutputPower(dbm);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user