Skip to content

Commit c603132

Browse files
committed
forgot self argument in crc_update
fixed regression introduced in 43fd883
1 parent 43fd883 commit c603132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bridge/packet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, file):
4747
self.result = 0xFFFF
4848
self.file = file
4949

50-
def crc_update(crc, data):
50+
def crc_update(self, crc, data):
5151
crc = crc & 0xFFFF
5252
data = data & 0xFF
5353
data = data ^ (crc & 0xFF)

0 commit comments

Comments
 (0)