Plane: notify initialised after parameters loaded

This commit is contained in:
Randy Mackay 2017-01-21 15:16:27 +09:00 committed by Lucas De Marchi
parent 1300a9d3c6
commit fc4741395d
2 changed files with 4 additions and 2 deletions

View File

@ -103,8 +103,6 @@ void Plane::setup()
AP_Notify::flags.failsafe_battery = false;
notify.init(false);
rssi.init();
init_ardupilot();

View File

@ -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