Skip to content

Commit

Permalink
Fix issue detecting router prompt (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
tl-sl authored Jan 11, 2025
1 parent df54cb8 commit 448c4b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion universal_silabs_flasher/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def data_received(self, data: bytes) -> None:
while self._buffer:
_LOGGER.debug("Parsing %s: %r", self._state_machine.state, self._buffer)
if self._state_machine.state == State.STARTUP:
if b"\n>" not in self._buffer:
if b">" not in self._buffer:
return

self._buffer.clear()
Expand Down

0 comments on commit 448c4b3

Please sign in to comment.