drivers: timer: Set user RTC channel count conditionally
The RTC user channel count is increased contitionally to 2 when nrf_802154 radio driver is enabled. Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
This commit is contained in:
parent
876ea8d215
commit
1a0fed70d5
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ if NRF_RTC_TIMER
|
||||||
|
|
||||||
config NRF_RTC_TIMER_USER_CHAN_COUNT
|
config NRF_RTC_TIMER_USER_CHAN_COUNT
|
||||||
int "Additional channels that can be used"
|
int "Additional channels that can be used"
|
||||||
default 3 if SOC_SERIES_NRF52X
|
default 2 if NRF_802154_RADIO_DRIVER
|
||||||
default 0
|
default 0
|
||||||
help
|
help
|
||||||
Use nrf_rtc_timer.h API. Driver is not managing allocation of channels.
|
Use nrf_rtc_timer.h API. Driver is not managing allocation of channels.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue