Skip to content

Commit

Permalink
Update pySVS.py
Browse files Browse the repository at this point in the history
  • Loading branch information
logon84 authored Jul 19, 2024
1 parent 540d146 commit f03a755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pySVS.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def svs_encode(ftype, param, data=""):

frame = FRAME_PREAMBLE + SVS_FRAME_TYPES[ftype] + (len(frame) + 7).to_bytes(2,"little") + frame
frame = frame + crc_hqx(frame,0).to_bytes(2, 'little')
meta = "%s%s%s" % (ftype, " " + str([param]), " "[:len(str(data))] + str(data))
meta = ftype + " " + str([param]) + " "[:len(str(data))] + str(data)
return [frame, meta]

def svs_decode(frame):
Expand Down

0 comments on commit f03a755

Please sign in to comment.