summaryrefslogtreecommitdiff
path: root/src/app/nrf24l01test
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:25:37 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-28 15:25:37 +0200
commit3a66ae51c3f34108428e582ef693866d71496d16 (patch)
tree6a8ab3774af1b1077720671a92f40a92d5425bcf /src/app/nrf24l01test
parente12d6d528705344628568000dc2fddb919457411 (diff)
Expose configuration via Kconfig
Diffstat (limited to 'src/app/nrf24l01test')
-rw-r--r--src/app/nrf24l01test/Makefile.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/app/nrf24l01test/Makefile.inc b/src/app/nrf24l01test/Makefile.inc
index 6713ddb..f84bcbd 100644
--- a/src/app/nrf24l01test/Makefile.inc
+++ b/src/app/nrf24l01test/Makefile.inc
@@ -1,6 +1,8 @@
-override drivers += ,nrf24l01
-timer_s ?= 1
-loop ?= 1
+ifdef app
+ override loop = 1
+ override timer_s = 1
+ override drivers += ,nrf24l01
+endif
ifeq (${tx}, 1)
COMMON_FLAGS += -DNRF24L01TEST_TX