Skip to content

Commit 1a74fb6

Browse files
committed
Fixed : retransmission of discarded segments starts at beginning of new block
1 parent ffbd10f commit 1a74fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canopen/sdo/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ def _retransmit(self):
561561
response = self.sdo_client.read_response()
562562
res_command, = struct.unpack_from("B", response)
563563
seqno = res_command & 0x7F
564-
if seqno == self._ackseq + 1:
564+
if seqno == 1:
565565
# We should be back in sync
566566
self._ackseq = seqno
567567
return response

0 commit comments

Comments
 (0)