File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,9 @@ module = BT_CS_DE
2323module-str = CS_DE
2424source "$(ZEPHYR_BASE)/subsys/logging/Kconfig.template.log_config"
2525
26- config BT_CS_DE_NFFT_SIZE
27- int
28- default 512
29- default 512 if BT_CS_DE_512_NFFT
30- default 1024 if BT_CS_DE_1024_NFFT
31- default 2048 if BT_CS_DE_2048_NFFT
32- help
33- Internal config. Not intended for use.
26+ choice BT_CS_DE_NFFT_SIZE_SELECTION
27+ prompt "FFT size used in the CS_DE IFFT algorithm"
28+ default BT_CS_DE_512_NFFT
3429
3530config BT_CS_DE_512_NFFT
3631 bool "Use NFFT with 512 samples."
@@ -41,4 +36,14 @@ config BT_CS_DE_1024_NFFT
4136config BT_CS_DE_2048_NFFT
4237 bool "Use NFFT with 2048 samples."
4338
39+ endchoice
40+
41+ config BT_CS_DE_NFFT_SIZE
42+ int
43+ default 512 if BT_CS_DE_512_NFFT
44+ default 1024 if BT_CS_DE_1024_NFFT
45+ default 2048 if BT_CS_DE_2048_NFFT
46+ help
47+ Internal config. Not intended for use.
48+
4449endif # BT_CS_DE
You can’t perform that action at this time.
0 commit comments