Skip to content

Commit 8059435

Browse files
authored
Update eipclient.py
Fixed bug where sequence would never inc past 0
1 parent b8961ea commit 8059435

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eeip/eipclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ def __send_udp(self):
749749
# -------------------Length
750750

751751
# -------------------Sequence count
752-
sequence += sequence
752+
sequence += 1
753753
if self.__o_t_realtime_format != RealTimeFormat.HEARTBEAT:
754754
message.append(sequence & 0xFF)
755755
message.append((sequence & 0xFF00) >> 8)

0 commit comments

Comments
 (0)