mirror of https://github.com/ArduPilot/ardupilot
Rover: Fix the yellow binking lights after the AP_Notify updates
This commit is contained in:
parent
8629637cec
commit
339dac18f7
|
@ -537,14 +537,14 @@ void setup() {
|
||||||
// load the default values of variables listed in var_info[]
|
// load the default values of variables listed in var_info[]
|
||||||
AP_Param::setup_sketch_defaults();
|
AP_Param::setup_sketch_defaults();
|
||||||
|
|
||||||
|
notify.init(false);
|
||||||
|
|
||||||
// rover does not use arming nor pre-arm checks
|
// rover does not use arming nor pre-arm checks
|
||||||
AP_Notify::flags.armed = true;
|
AP_Notify::flags.armed = true;
|
||||||
AP_Notify::flags.pre_arm_check = true;
|
AP_Notify::flags.pre_arm_check = true;
|
||||||
AP_Notify::flags.pre_arm_gps_check = true;
|
AP_Notify::flags.pre_arm_gps_check = true;
|
||||||
AP_Notify::flags.failsafe_battery = false;
|
AP_Notify::flags.failsafe_battery = false;
|
||||||
|
|
||||||
notify.init(false);
|
|
||||||
|
|
||||||
rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE);
|
rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE);
|
||||||
|
|
||||||
init_ardupilot();
|
init_ardupilot();
|
||||||
|
|
Loading…
Reference in New Issue