Skip to content

Commit

Permalink
Fix issue detecting router prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
tl-sl committed Jan 7, 2025
1 parent df54cb8 commit 58dcb8b
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 58dcb8b

Please sign in to comment.