Rover: Fix the yellow binking lights after the AP_Notify updates

This commit is contained in:
Marco Walther 2015-03-01 21:57:36 -08:00 committed by Andrew Tridgell
parent 8629637cec
commit 339dac18f7
1 changed files with 3 additions and 3 deletions

View File

@ -537,14 +537,14 @@ 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();