Skip to content

Commit

Permalink
Correctly ignore meta bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
kg583 committed Nov 23, 2024
1 parent 2192f25 commit 8c3ebe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tivars/var.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ def bytes(self) -> bytes:
"""

return self.meta_length + self.calc_data_length + \
self.type_id + self.name + self.version + self.archived + \
self.type_id + self.name + self.flash_bytes + \
self.calc_data_length + self.calc_data

def __init__(self, init=None, *,
Expand Down

0 comments on commit 8c3ebe2

Please sign in to comment.