From 69cf00989821f29ddb7d59d8d9cbb245510cec71 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Mon, 19 Mar 2018 21:22:06 -0700 Subject: [PATCH] AutoTest: Update copter battery failsafe test --- Tools/autotest/arducopter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 9570e20d23..08aa98bdd3 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -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: