Skip to content

Commit 124ab9a

Browse files
authored
Merge pull request #9 from caternuson/iss8
Fix laggy sensor readings
2 parents 68d68e2 + 739a493 commit 124ab9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_bno08x_rvc.py

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def heading(self) -> Tuple[float, float, float, float, float, float]:
121121
122122
"""
123123
# try to read initial packet start byte
124+
self._uart.reset_input_buffer()
124125
data = None
125126
start_time = time.monotonic()
126127
while time.monotonic() - start_time < self._read_timeout:

0 commit comments

Comments
 (0)