summaryrefslogtreecommitdiff
path: root/src/app/nrf24l01test
diff options
context:
space:
mode:
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