Skip to content

Commit

Permalink
Reset frame for serial connections.
Browse files Browse the repository at this point in the history
  • Loading branch information
janiversen committed Dec 26, 2023
1 parent 0cfbde5 commit 7334db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymodbus/framer/rtu_framer.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ def resetFrame(self):
end of the message (python just doesn't have the resolution to
check for millisecond delays).
"""
x = self._buffer
# x = self._buffer
super().resetFrame()
self._buffer = x
# self._buffer = x

def isFrameReady(self):
"""Check if we should continue decode logic.
Expand Down

0 comments on commit 7334db8

Please sign in to comment.