|
|
|
@ -21,17 +21,6 @@ void Copter::init_ardupilot()
@@ -21,17 +21,6 @@ void Copter::init_ardupilot()
|
|
|
|
|
g2.stats.init(); |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
// identify ourselves correctly with the ground station
|
|
|
|
|
mavlink_system.sysid = g.sysid_this_mav; |
|
|
|
|
|
|
|
|
|
// initialise serial ports
|
|
|
|
|
serial_manager.init(); |
|
|
|
|
|
|
|
|
|
// setup first port early to allow BoardConfig to report errors
|
|
|
|
|
gcs().setup_console(); |
|
|
|
|
|
|
|
|
|
register_scheduler_delay_callback(); |
|
|
|
|
|
|
|
|
|
BoardConfig.init(); |
|
|
|
|
#if HAL_WITH_UAVCAN |
|
|
|
|
BoardConfig_CAN.init(); |
|
|
|
|