wetox updated draw_subghz

This commit is contained in:
FalsePhilosopher 2022-07-15 11:17:18 -06:00
parent 0d83983e36
commit 54b58c0021

View File

@ -27,10 +27,7 @@ for line in lines:
# Split the data into a list of individual timings # Split the data into a list of individual timings
timings = [] timings = []
for line in data: for line in data:
timings.append(line.split()) timings.extend((int(x) for x in line.split()))
# Convert the list of lists into a single list of numbers
timings = [int(x) for x in timings[0]]
# Convert timings to a stream of 0s and 1s # Convert timings to a stream of 0s and 1s
stream = [] stream = []