AutoTest: Update copter battery failsafe test

This commit is contained in:
Michael du Breuil 2018-03-19 21:22:06 -07:00 committed by Francisco Ferreira
parent 8dd55a85cd
commit 69cf009898
1 changed files with 2 additions and 2 deletions

View File

@ -427,7 +427,7 @@ class AutoTestCopter(AutoTest):
self.set_rc(3, 1500)
# enable battery failsafe
self.set_parameter('FS_BATT_ENABLE', 1)
self.set_parameter('BATT_FS_LOW_ACT', 1)
# trigger low voltage
self.set_parameter('SIM_BATT_VOLTAGE', 10)
@ -438,7 +438,7 @@ class AutoTestCopter(AutoTest):
success = True
# disable battery failsafe
self.set_parameter('FS_BATT_ENABLE', 0)
self.set_parameter('BATT_FS_LOW_ACT', 0)
# return status
if success: