autotest: make Sub's setting of FS_GCS_ENABLE persist across wipes

This commit is contained in:
Peter Barker 2020-12-20 22:29:46 +11:00 committed by Peter Barker
parent 26bbedd777
commit b02f0ee51f
1 changed files with 5 additions and 6 deletions

View File

@ -63,12 +63,6 @@ class AutoTestSub(AutoTest):
def default_frame(self):
return 'vectored'
def init(self):
super(AutoTestSub, self).init()
# FIXME:
self.set_parameter("FS_GCS_ENABLE", 0)
def is_sub(self):
return True
@ -332,6 +326,11 @@ class AutoTestSub(AutoTest):
pass
self.initialise_after_reboot_sitl()
def apply_defaultfile_parameters(self):
super(AutoTestSub, self).apply_defaultfile_parameters()
# FIXME:
self.set_parameter("FS_GCS_ENABLE", 0)
def disabled_tests(self):
ret = super(AutoTestSub, self).disabled_tests()
ret.update({