drivers: modem: bg9x: Fix unused configs

Fix Kconfig so that unused configs won't be compiled.

Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
Yong Cong Sin 2021-09-10 20:05:01 +08:00 committed by Christopher Friedt
commit 495f6b7ccc

View file

@ -15,6 +15,8 @@ config MODEM_QUECTEL_BG9X
Choose this setting to enable quectel BG9x LTE-CatM1/NB-IoT modem Choose this setting to enable quectel BG9x LTE-CatM1/NB-IoT modem
driver. driver.
if MODEM_QUECTEL_BG9X
config MODEM_QUECTEL_BG9X_RX_STACK_SIZE config MODEM_QUECTEL_BG9X_RX_STACK_SIZE
int "Stack size for the quectel BG9X modem driver RX thread" int "Stack size for the quectel BG9X modem driver RX thread"
default 1028 default 1028
@ -61,3 +63,5 @@ config MODEM_QUECTEL_BG9X_INIT_PRIORITY
Do not mess with it unless you know what you are doing. Do not mess with it unless you know what you are doing.
Note that the priority needs to be lower than the net stack Note that the priority needs to be lower than the net stack
so that it can start before the networking sub-system. so that it can start before the networking sub-system.
endif