autotest: fixed FETTec bad mask test

can support up to 15 outputs with FETTec now
This commit is contained in:
Andrew Tridgell 2022-06-10 09:57:30 +10:00
parent c01e21dcb3
commit 8441f4a130
1 changed files with 1 additions and 1 deletions

View File

@ -8600,7 +8600,7 @@ class AutoTestCopter(AutoTest):
def FETtecESC_btw_mask_checks(self): def FETtecESC_btw_mask_checks(self):
'''ensure prearm checks work as expected''' '''ensure prearm checks work as expected'''
for bad_mask in [0b1000000000000, 0b10100000000000]: for bad_mask in [0b1000000000000000, 0b10100000000000000]:
self.fettec_assert_bad_mask(bad_mask) self.fettec_assert_bad_mask(bad_mask)
for good_mask in [0b00001, 0b00101, 0b110000000000]: for good_mask in [0b00001, 0b00101, 0b110000000000]:
self.fettec_assert_good_mask(good_mask) self.fettec_assert_good_mask(good_mask)