Commit bef644d6 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

sw: Changed outputs display in RS485 test to reflect loopbacks in schematics

parent 05661a03
......@@ -135,7 +135,13 @@ def check_counters(bus, inf, pel):
pel.set(msg)
def pulse_test(bus, inf, pel, output, term):
msg = "Testing channel connections (term. %s): Out%d -> In" % (term, output)
if (output == 1):
disp = 3
elif (output == 2):
disp = 2
elif (output == 3):
disp = 1
msg = "Testing channel connections (term. %s): Out%d -> In" % (term, disp)
print(msg)
mux_sel(bus, output)
clear_counters(bus)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment