drivers: ieee802154_nrf5: limit IEEE802154_NRF5_DELAY_TRX_ACC

Currently IEEE802154_NRF5_DELAY_TRX_ACC can exceed the max possible
value. Add upper bound to limit this.

Signed-off-by: Lukasz Maciejonczyk <lukasz.maciejonczyk@nordicsemi.no>
This commit is contained in:
Lukasz Maciejonczyk 2022-03-31 15:10:39 +02:00 committed by Carles Cufí
parent 0b1f97031a
commit 00a6d4cf78

View File

@ -77,7 +77,8 @@ config IEEE802154_NRF5_FCS_IN_LENGTH
config IEEE802154_NRF5_DELAY_TRX_ACC
int "Clock accuracy for delayed operations"
default CLOCK_CONTROL_NRF_ACCURACY
default CLOCK_CONTROL_NRF_ACCURACY if CLOCK_CONTROL_NRF_ACCURACY < 255
default 255
help
Accuracy of the clock used for scheduling radio delayed operations (delayed transmission
or delayed reception), in ppm.