mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-22 06:20:12 +00:00
wetox updated draw_subghz
This commit is contained in:
parent
0d83983e36
commit
54b58c0021
@ -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 = []
|
||||||
|
Loading…
Reference in New Issue
Block a user