Skip to content

Commit f92154f

Browse files
author
Thomas Stenersen
committed
drivers: clock_control: nrf: add choice variable
Add choice variables for CLOCK_CONTROL_NRF_SOURCE and CLOCK_CONTROL_NRF_ACCURACY such that the choices may be augmented out-of-tree. Signed-off-by: Thomas Stenersen <[email protected]>
1 parent 2478ce5 commit f92154f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/clock_control/Kconfig.nrf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ menuconfig CLOCK_CONTROL_NRF
1414

1515
if CLOCK_CONTROL_NRF
1616

17-
choice
17+
choice CLOCK_CONTROL_NRF_SOURCE
1818
prompt "32KHz clock source"
1919
default CLOCK_CONTROL_NRF_K32SRC_XTAL
2020

@@ -35,7 +35,7 @@ config CLOCK_CONTROL_NRF_K32SRC_BLOCKING
3535
initially start running and automatically switch to crystal when
3636
ready.
3737

38-
choice
38+
choice CLOCK_CONTROL_NRF_ACCURACY
3939
prompt "32KHz clock accuracy"
4040
default CLOCK_CONTROL_NRF_K32SRC_500PPM if CLOCK_CONTROL_NRF_K32SRC_RC
4141
default CLOCK_CONTROL_NRF_K32SRC_20PPM

0 commit comments

Comments
 (0)