drivers: ieee802154: nrf5: fix default value for nRF54H20

The default value of IEEE802154_NRF5_DELAY_TRX_ACC Kconfig option is
based on a symbol that is undefined for nRF54H20. It evaluates as empty,
which leads to compilation errors with very cryptic logs.

This commit assures that a sane value for IEEE802154_NRF5_DELAY_TRX_ACC
is selected at all times, avoiding the compilation errors.

Signed-off-by: Jędrzej Ciupis <jedrzej.ciupis@nordicsemi.no>
This commit is contained in:
Jędrzej Ciupis 2024-03-14 13:01:56 +01:00 committed by Carles Cufí
parent 7a8c16c937
commit b457645423

View file

@ -72,7 +72,7 @@ config IEEE802154_NRF5_FCS_IN_LENGTH
config IEEE802154_NRF5_DELAY_TRX_ACC
int "Clock accuracy for delayed operations"
default CLOCK_CONTROL_NRF_ACCURACY if CLOCK_CONTROL_NRF_ACCURACY < 255
default CLOCK_CONTROL_NRF_ACCURACY if (CLOCK_CONTROL_NRF && (CLOCK_CONTROL_NRF_ACCURACY < 255))
default 255
help
Accuracy of the clock used for scheduling radio delayed operations (delayed transmission