From e0d44ed31a5884a82c0ccafe2eca7beafa3c508a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 18 Sep 2013 10:55:54 +1000 Subject: [PATCH] Rover: prevent arming tone on startup --- APMrover2/APMrover2.pde | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/APMrover2/APMrover2.pde b/APMrover2/APMrover2.pde index ac5a428838..106ed92cf9 100644 --- a/APMrover2/APMrover2.pde +++ b/APMrover2/APMrover2.pde @@ -585,10 +585,12 @@ void setup() { // load the default values of variables listed in var_info[] AP_Param::setup_sketch_defaults(); - // arduplane does not use arming nor pre-arm checks - notify.init(); + // rover does not use arming nor pre-arm checks AP_Notify::flags.armed = true; AP_Notify::flags.pre_arm_check = true; + AP_Notify::flags.failsafe_battery = false; + + notify.init(); rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE); vcc_pin = hal.analogin->channel(ANALOG_INPUT_BOARD_VCC);