Browse Source

Rover: Fix the yellow binking lights after the AP_Notify updates

mission-4.1.18
Marco Walther 10 years ago committed by Andrew Tridgell
parent
commit
339dac18f7
  1. 6
      APMrover2/APMrover2.pde

6
APMrover2/APMrover2.pde

@ -537,17 +537,17 @@ void setup() { @@ -537,17 +537,17 @@ void setup() {
// load the default values of variables listed in var_info[]
AP_Param::setup_sketch_defaults();
notify.init(false);
// rover does not use arming nor pre-arm checks
AP_Notify::flags.armed = true;
AP_Notify::flags.pre_arm_check = true;
AP_Notify::flags.pre_arm_gps_check = true;
AP_Notify::flags.failsafe_battery = false;
notify.init(false);
rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE);
init_ardupilot();
init_ardupilot();
// initialise the main loop scheduler
scheduler.init(&scheduler_tasks[0], sizeof(scheduler_tasks)/sizeof(scheduler_tasks[0]));

Loading…
Cancel
Save