fix(sensors): Avoid duplicate Kconfig/DTS name.

* Upstream added an equivalent fuel gauge driver, so namespace
  our Kconfig symbol and DTS compatible for the MAX17048 driver.
This commit is contained in:
Peter Johanson
2023-10-16 06:11:21 +00:00
committed by Pete Johanson
parent 0b5afbf9c0
commit bd9c71ab0a
5 changed files with 9 additions and 11 deletions

View File

@@ -5,5 +5,5 @@ zephyr_include_directories(.)
zephyr_library()
zephyr_library_sources_ifdef(CONFIG_MAX17048 max17048.c)
zephyr_library_sources_ifndef(CONFIG_MAX17048 ${ZEPHYR_BASE}/misc/empty_file.c)
zephyr_library_sources_ifdef(CONFIG_ZMK_MAX17048 max17048.c)
zephyr_library_sources_ifndef(CONFIG_ZMK_MAX17048 ${ZEPHYR_BASE}/misc/empty_file.c)