Plane: move radio init after boardconfig init
to ensure px4io is setup first
This commit is contained in:
parent
00938f7dbb
commit
5ed8418305
@ -101,7 +101,6 @@ void Plane::init_ardupilot()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
set_control_channels();
|
set_control_channels();
|
||||||
init_rc_out_main();
|
|
||||||
|
|
||||||
#if HAVE_PX4_MIXER
|
#if HAVE_PX4_MIXER
|
||||||
if (!quadplane.enable) {
|
if (!quadplane.enable) {
|
||||||
@ -132,6 +131,8 @@ void Plane::init_ardupilot()
|
|||||||
// setup any board specific drivers
|
// setup any board specific drivers
|
||||||
BoardConfig.init();
|
BoardConfig.init();
|
||||||
|
|
||||||
|
init_rc_out_main();
|
||||||
|
|
||||||
// allow servo set on all channels except first 4
|
// allow servo set on all channels except first 4
|
||||||
ServoRelayEvents.set_channel_mask(0xFFF0);
|
ServoRelayEvents.set_channel_mask(0xFFF0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user