From d2114f9910edf5e3aabf2023d9f63cc66f657c33 Mon Sep 17 00:00:00 2001
From: brendan <2bndy5@gmail.com>
Date: Sun, 24 Jan 2021 18:03:29 -0800
Subject: [PATCH] wrong timeout in slave() man_ack test

---
 examples/nrf24l01_manual_ack_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/nrf24l01_manual_ack_test.py b/examples/nrf24l01_manual_ack_test.py
index 6c6cb4a..e61035d 100644
--- a/examples/nrf24l01_manual_ack_test.py
+++ b/examples/nrf24l01_manual_ack_test.py
@@ -116,7 +116,7 @@ def slave(timeout=6):
             counter[0] = received[7:8][0] + 1
             nrf.listen = False  # put the radio in TX mode
             result = False
-            ack_timeout = time.monotonic_ns() + 200000
+            ack_timeout = time.monotonic_ns() + 200000000
             while not result and time.monotonic_ns() < ack_timeout:
                 # try to send reply for 200 milliseconds (at most)
                 result = nrf.send(b"World \0" + bytes([counter[0]]))