Skip to content

Commit

Permalink
correct handshake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
elcojacobs committed Feb 3, 2024
1 parent 27b516a commit b2c0890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brewblox_devcon_spark/ymodem.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ async def _read():
match = re.search(r'<!(?P<message>FIRMWARE_UPDATER[^>]*)>', buffer)
if match:
args = match.group('message').split(',')
message = HandshakeMessage(*args[:8])
message = HandshakeMessage(*args[:7])
self._notify(f'Handshake received: {message}')
break
else:
Expand Down

0 comments on commit b2c0890

Please sign in to comment.