Plane: call AP_Vehicle setup code

This commit is contained in:
Andrew Tridgell 2020-06-05 12:15:25 +10:00
parent bd67a1c281
commit 69f98b618b
1 changed files with 3 additions and 0 deletions

View File

@ -179,6 +179,9 @@ void Plane::init_ardupilot()
g2.gripper.init(); g2.gripper.init();
#endif #endif
// call AP_Vehicle setup code
vehicle_setup();
// disable safety if requested // disable safety if requested
BoardConfig.init_safety(); BoardConfig.init_safety();