summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'src/app')
-rw-r--r--src/app/nrf24l01test/main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/nrf24l01test/main.cc b/src/app/nrf24l01test/main.cc
index c12cbf5..ad1bc11 100644
--- a/src/app/nrf24l01test/main.cc
+++ b/src/app/nrf24l01test/main.cc
@@ -9,6 +9,9 @@ void loop(void)
kout << "status: " << hex << nrf24l01.getStatus() << endl;
kout << "write: ";
kout << nrf24l01.write("foo", 3, true) << endl;
+ nrf24l01.startListening();
+ arch.delay_ms(10);
+ nrf24l01.stopListening();
}
int main(void)