From 31ec6f66d9f1cd3027a302976eadc8fe69e2018d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 16 Dec 2024 21:21:17 +1100 Subject: [PATCH] autotest: fix FRSkyPassThroughSensorIDs test need to clear the read buffers before re-polling sensors - just in case we don't need to! --- Tools/autotest/vehicle_test_suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/vehicle_test_suite.py b/Tools/autotest/vehicle_test_suite.py index a5535d73da..e847a3e5ce 100644 --- a/Tools/autotest/vehicle_test_suite.py +++ b/Tools/autotest/vehicle_test_suite.py @@ -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()