AP_Vehicle: move can_mgr.init call up to AP_Vehicle

... also adds the call for Blimp...
This commit is contained in:
Peter Barker 2024-02-01 11:02:43 +11:00 committed by Andrew Tridgell
parent 2f42f55278
commit e660a1925e
1 changed files with 4 additions and 0 deletions

View File

@ -360,6 +360,10 @@ void AP_Vehicle::setup()
BoardConfig.init();
#if HAL_CANMANAGER_ENABLED
can_mgr.init();
#endif
// init_ardupilot is where the vehicle does most of its initialisation.
init_ardupilot();