Skip to content
Snippets Groups Projects
Commit e0d44ed3 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

Rover: prevent arming tone on startup

parent 0d6b8479
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment