Skip to content

Commit

Permalink
autotest: fix FRSkyPassThroughSensorIDs test
Browse files Browse the repository at this point in the history
need to clear the read buffers before re-polling sensors - just in case we don't need to!
  • Loading branch information
peterbarker committed Dec 17, 2024
1 parent 8444010 commit 31ec6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/autotest/vehicle_test_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1715,8 +1715,8 @@ def update(self):
if not self.connect():
self.progress("Failed to connect")
return
self.check_poll()
self.do_sport_read()
self.check_poll()

def do_sport_read(self):
self.buffer += self.do_read()
Expand Down

0 comments on commit 31ec6f6

Please sign in to comment.