diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2019-12-20 10:22:12 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2019-12-20 10:22:12 +0100 |
commit | 70a8e26e28703a71d4e84e5816fecc2b18310908 (patch) | |
tree | e2f580020748184cb319f63c4a17598d6f993483 /src/app/nrf24l01test/Makefile.inc | |
parent | 631eadd1283eb75c5ad120a9ffe9ff0fa345a702 (diff) |
nrf24l01test: set RX/TX mode via make flag
Diffstat (limited to 'src/app/nrf24l01test/Makefile.inc')
-rw-r--r-- | src/app/nrf24l01test/Makefile.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/nrf24l01test/Makefile.inc b/src/app/nrf24l01test/Makefile.inc index 67e9c68..6713ddb 100644 --- a/src/app/nrf24l01test/Makefile.inc +++ b/src/app/nrf24l01test/Makefile.inc @@ -1,2 +1,7 @@ +override drivers += ,nrf24l01 timer_s ?= 1 loop ?= 1 + +ifeq (${tx}, 1) + COMMON_FLAGS += -DNRF24L01TEST_TX +endif |