Allow negative tx power

Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
This commit is contained in:
Wessel Nieboer 2026-01-03 20:35:14 +01:00 committed by Wessel Nieboer
parent f7e92a7cd1
commit d0720c63c2
No known key found for this signature in database
GPG key ID: 929C8E45E33B5FD2
141 changed files with 144 additions and 144 deletions

View file

@ -89,7 +89,7 @@ void radio_set_params(float freq, float bw, uint8_t sf, uint8_t cr) {
radio.setCodingRate(cr);
}
void radio_set_tx_power(uint8_t dbm) {
void radio_set_tx_power(int8_t dbm) {
radio.setOutputPower(dbm);
}