diff --git a/cpu/nrf52/radio/nrf802154/nrf802154.c b/cpu/nrf52/radio/nrf802154/nrf802154.c index 13640e574a..596566ab7e 100644 --- a/cpu/nrf52/radio/nrf802154/nrf802154.c +++ b/cpu/nrf52/radio/nrf802154/nrf802154.c @@ -215,7 +215,7 @@ static void _set_txpower(int16_t txpower) if (txpower > 8) { NRF_RADIO->TXPOWER = RADIO_TXPOWER_TXPOWER_Pos8dBm; } - if (txpower > 1) { + else if (txpower > 1) { NRF_RADIO->TXPOWER = (uint32_t)txpower; } else if (txpower > -1) {