diff options
Diffstat (limited to 'src/app/luxlog')
-rw-r--r-- | src/app/luxlog/Kconfig | 2 | ||||
-rw-r--r-- | src/app/luxlog/Makefile.inc | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/src/app/luxlog/Kconfig b/src/app/luxlog/Kconfig new file mode 100644 index 0000000..6e1c6e6 --- /dev/null +++ b/src/app/luxlog/Kconfig @@ -0,0 +1,2 @@ +prompt "Ambient Brightness Logger" +depends on driver_max44009 diff --git a/src/app/luxlog/Makefile.inc b/src/app/luxlog/Makefile.inc index bcee1d0..a0cbcd8 100644 --- a/src/app/luxlog/Makefile.inc +++ b/src/app/luxlog/Makefile.inc @@ -1,3 +1,5 @@ -arch_drivers += ,i2c -drivers += ,max44009 -loop ?= 1 +ifdef app + override loop = 1 + override arch_drivers += ,i2c + override drivers += ,max44009 +endif |