From dfa342a79f6cd4c48ba391c1565bf159f25c293d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 3 Apr 2021 01:06:05 +1100 Subject: [PATCH] autotest: correct rc-values-good debug --- Tools/autotest/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index f896657681..84a93827ac 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -3474,12 +3474,12 @@ class AutoTest(ABC): continue bad_channels = "" for chan in map_copy: - self.progress("RC values good") chan_pwm = getattr(m, "chan" + str(chan) + "_raw") if chan_pwm != map_copy[chan]: bad_channels += " (ch=%u want=%u got=%u)" % (chan, map_copy[chan], chan_pwm) break if len(bad_channels) == 0: + self.progress("RC values good") break self.progress("RC values bad:%s" % bad_channels) if not self.rc_thread.is_alive():