summaryrefslogtreecommitdiff
path: root/tests/simple_read_eth0_ncom_2s1r
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-06-11 10:32:23 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-06-11 10:32:23 +0200
commitb75498604a20ec7a15b0271ecffa19ff72a9e996 (patch)
treee616cebca958795f7a6b417c7b6d1866a00d594b /tests/simple_read_eth0_ncom_2s1r
parentfa09187031520affba98dac32f23562b9da9a273 (diff)
Remove interface name from registers
Diffstat (limited to 'tests/simple_read_eth0_ncom_2s1r')
-rw-r--r--tests/simple_read_eth0_ncom_2s1r/receiver.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/simple_read_eth0_ncom_2s1r/receiver.py b/tests/simple_read_eth0_ncom_2s1r/receiver.py
index 819fc84..e2d317b 100644
--- a/tests/simple_read_eth0_ncom_2s1r/receiver.py
+++ b/tests/simple_read_eth0_ncom_2s1r/receiver.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python
def execute(api):
- api.log("eth0 is {}".format(api.read("eth0_ncom")))
+ api.log("eth0 is {}".format(api.read("ncom_eth0")))
api.wait(624)
- api.log("eth0 is {}".format(api.read("eth0_ncom")))
+ api.log("eth0 is {}".format(api.read("ncom_eth0")))
api.wait(624)
# Now we are at 624*2=1248 (first sender start a communication)
api.wait(1) # Let the communication starts
- api.log("eth0 is {}".format(api.read("eth0_ncom"))) # Should print 1
+ api.log("eth0 is {}".format(api.read("ncom_eth0"))) # Should print 1
api.wait(1) # Now second sender start a communication
- api.log("eth0 is {}".format(api.read("eth0_ncom"))) # Should print 2
+ api.log("eth0 is {}".format(api.read("ncom_eth0"))) # Should print 2