Add support for negative TX power values

This commit is contained in:
jacob.eva 2024-07-12 15:15:56 +01:00
parent e5fcf79e4d
commit c88fe0ed33
No known key found for this signature in database
GPG key ID: 0B92E083BBCCAA1E
2 changed files with 2 additions and 2 deletions

View file

@ -677,7 +677,7 @@ void kiss_indicate_implicit_length() {
}
void kiss_indicate_txpower(RadioInterface* radio) {
uint8_t txp = radio->getTxPower();
int8_t txp = radio->getTxPower();
serial_write(FEND);
serial_write(CMD_TXPOWER);
serial_write(txp);