autotest: fix FRSkyPassThroughSensorIDs test

need to clear the read buffers before re-polling sensors - just in case we don't need to!
This commit is contained in:
Peter Barker 2024-12-16 21:21:17 +11:00 committed by Peter Barker
parent 84440108e3
commit 31ec6f66d9
1 changed files with 1 additions and 1 deletions

View File

@ -1715,8 +1715,8 @@ class FRSkySPort(FRSky):
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()