Commit c4272e73 authored by Dave Newbold's avatar Dave Newbold

Adding functions to alignment script

parent 09b32601
......@@ -132,7 +132,7 @@ for i_chan in chans:
else:
trp += "."
a = int((min + max) / 2)
d_slip = offsets.index(a mod taps_per_slip)
d_slip = offsets.index(a // taps_per_slip)
d_tap = a % taps_per_slip
if not non_cont:
print "Chan, min, max, rec_slip, rec_tap:", hex(i_chan), hex(min), hex(max), hex(d_slip), hex(d_tap)
......
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