summaryrefslogtreecommitdiff
path: root/src/app/nrf24l01test
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2019-06-25 15:52:18 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2019-06-25 15:52:18 +0200
commitf4394afb4e7915457f0a901e9c3d9d0f08470593 (patch)
treee2ec37b32a87a4d9e891cc65e276df3d182cdf28 /src/app/nrf24l01test
parenta73f21f7aa05638203ca0b928849f956cd4269ee (diff)
addsetautoack
Diffstat (limited to 'src/app/nrf24l01test')
-rw-r--r--src/app/nrf24l01test/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/nrf24l01test/main.cc b/src/app/nrf24l01test/main.cc
index 9dddb58..f1d7ef0 100644
--- a/src/app/nrf24l01test/main.cc
+++ b/src/app/nrf24l01test/main.cc
@@ -35,8 +35,8 @@ void loop(void)
kout << "write: ";
nrf24l01.setRetries(0, 0);
- nrf24l01.enableDynamicPayloads(false);
- nrf24l01.enableDynamicAck(false);
+ nrf24l01.setDynamicPayloads(false);
+ nrf24l01.setDynamicAck(false);
TIMEIT("blocking write(3)", nrf24l01.write("foo", 3, true, true));
TIMEIT("blocking write(10)", nrf24l01.write("123456789", 10, true, true));
TIMEIT("blocking write(20)", nrf24l01.write("123456789123456789", 20, true, true));