nimble/phy/nrf: Fix setting -3dBm power on nRF5340

There was a typo which would result in -4 dBm being set instead.
This commit is contained in:
Szymon Janc
2022-08-31 09:26:22 +02:00
parent c9cbc3cb15
commit cc29e37c9c
+1 -1
View File
@@ -1817,7 +1817,7 @@ ble_phy_txpower_round(int dbm)
}
if (dbm >= (int8_t)RADIO_TXPOWER_TXPOWER_Neg3dBm) {
return (int8_t)RADIO_TXPOWER_TXPOWER_Neg4dBm;
return (int8_t)RADIO_TXPOWER_TXPOWER_Neg3dBm;
}
if (dbm >= (int8_t)RADIO_TXPOWER_TXPOWER_Neg4dBm) {