mirror of https://github.com/ArduPilot/ardupilot
autotest: fixed FETTec bad mask test
can support up to 15 outputs with FETTec now
This commit is contained in:
parent
c01e21dcb3
commit
8441f4a130
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue