From b75498604a20ec7a15b0271ecffa19ff72a9e996 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 11 Jun 2022 10:32:23 +0200 Subject: Remove interface name from registers --- tests/simple_read_eth0_ncom_2s1r/receiver.py | 8 ++++---- tests/simple_read_wlan0_ncom_2s1r/receiver.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') 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 diff --git a/tests/simple_read_wlan0_ncom_2s1r/receiver.py b/tests/simple_read_wlan0_ncom_2s1r/receiver.py index 9f652aa..d41304e 100644 --- a/tests/simple_read_wlan0_ncom_2s1r/receiver.py +++ b/tests/simple_read_wlan0_ncom_2s1r/receiver.py @@ -1,12 +1,12 @@ #!/usr/bin/env python def execute(api): - api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) + api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) api.wait(624) - api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) + api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) api.wait(624) # Now we are at 624*2=1248 (first sender start a communication) api.wait(1) # Let the communication starts - api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 1 + api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) # Should print 1 api.wait(1) # Second sender start a communication - api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 2 + api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) # Should print 2 -- cgit v1.2.3