mirror of https://github.com/ArduPilot/ardupilot
Plane: notify initialised after parameters loaded
This commit is contained in:
parent
1300a9d3c6
commit
fc4741395d
|
@ -103,8 +103,6 @@ void Plane::setup()
|
|||
|
||||
AP_Notify::flags.failsafe_battery = false;
|
||||
|
||||
notify.init(false);
|
||||
|
||||
rssi.init();
|
||||
|
||||
init_ardupilot();
|
||||
|
|
|
@ -131,6 +131,10 @@ void Plane::init_ardupilot()
|
|||
// setup any board specific drivers
|
||||
BoardConfig.init();
|
||||
|
||||
// initialise notify system
|
||||
notify.init(false);
|
||||
notify_flight_mode(control_mode);
|
||||
|
||||
init_rc_out_main();
|
||||
|
||||
// allow servo set on all channels except first 4
|
||||
|
|
Loading…
Reference in New Issue