Skip to content

Commit 3b05fd1

Browse files
nixwardcarlescufi
authored andcommitted
drivers: gnss: tidy satellite count kconfig symbols
CONFIG_GNSS_LUATOS_AIR530Z_SATELLITES_COUNT and CONFIG_GNSS_U_BLOX_M8_SATELLITES_COUNT would unnecessarily be in .config file. Signed-off-by: Nick Ward <[email protected]>
1 parent 3b26844 commit 3b05fd1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

drivers/gnss/Kconfig.luatos_air530z

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ config GNSS_LUATOS_AIR530Z
1616
help
1717
Enable Luatos Air530z GNSS driver.
1818

19+
if GNSS_LUATOS_AIR530Z
20+
1921
config GNSS_LUATOS_AIR530Z_SATELLITES_COUNT
2022
int "Maximum satellite count"
2123
depends on GNSS_SATELLITES
@@ -25,3 +27,5 @@ config GNSS_LUATOS_AIR530Z_SATELLITES_COUNT
2527
GNSS device. This does not affect the number of devices that
2628
the device is actually tracking, just how many of those can
2729
be reported in the satellites callback.
30+
31+
endif

drivers/gnss/Kconfig.u_blox_m8

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ config GNSS_U_BLOX_M8
1616
help
1717
Enable U-BLOX M8 GNSS modem driver.
1818

19+
if GNSS_U_BLOX_M8
20+
1921
config GNSS_U_BLOX_M8_SATELLITES_COUNT
2022
int "Maximum satellite count"
2123
depends on GNSS_SATELLITES
@@ -25,3 +27,5 @@ config GNSS_U_BLOX_M8_SATELLITES_COUNT
2527
the GNSS device. This does not affect the number of devices that the
2628
device is actually tracking, just how many of those can be reported
2729
in the satellites callback.
30+
31+
endif

0 commit comments

Comments
 (0)