From 3a66ae51c3f34108428e582ef693866d71496d16 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 Aug 2020 15:25:37 +0200 Subject: Expose configuration via Kconfig --- src/app/nrf24l01test/Makefile.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/app/nrf24l01test') 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 -- cgit v1.2.3