Fix RSSI miscalculation and TX power not being set correctly

This commit is contained in:
jacob.eva 2024-01-29 20:36:14 +00:00
parent 98ee2f6d32
commit c21d8dcb2b
No known key found for this signature in database
GPG key ID: 0B92E083BBCCAA1E
3 changed files with 4 additions and 4 deletions

View file

@ -620,7 +620,7 @@ void serialCallback(uint8_t sbyte) {
kiss_indicate_txpower();
} else {
int txp = sbyte;
if (txp > 17) txp = 17;
if (txp > 22) txp = 22;
lora_txp = txp;
if (op_mode == MODE_HOST) setTXPower();