Skip to content

Commit

Permalink
Update sensors.py
Browse files Browse the repository at this point in the history
  • Loading branch information
charles37 authored Nov 8, 2024
1 parent 2f0604b commit 7989779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hwci/tests/sensors.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def oneshot_test(self, board):
sensors_found = False

while time.time() < reading_timeout:
output = serial.expect(r".*\r\n", timeout=2)
output = serial.expect(r".*\n", timeout=2)
if output:
line = output.decode("utf-8", errors="replace").strip()
if not line: # Skip empty lines
Expand Down

0 comments on commit 7989779

Please sign in to comment.