APM: updates for new GPS detection

This commit is contained in:
Andrew Tridgell 2012-09-17 14:44:08 +10:00
parent 5fd39bb928
commit 4d4a95501f
1 changed files with 0 additions and 1 deletions

View File

@ -193,7 +193,6 @@ static void init_ardupilot()
g_gps = &g_gps_driver; g_gps = &g_gps_driver;
// GPS Initialization // GPS Initialization
g_gps->init(GPS::GPS_ENGINE_AIRBORNE_4G); g_gps->init(GPS::GPS_ENGINE_AIRBORNE_4G);
g_gps->callback = mavlink_delay;
//mavlink_system.sysid = MAV_SYSTEM_ID; // Using g.sysid_this_mav //mavlink_system.sysid = MAV_SYSTEM_ID; // Using g.sysid_this_mav
mavlink_system.compid = 1; //MAV_COMP_ID_IMU; // We do not check for comp id mavlink_system.compid = 1; //MAV_COMP_ID_IMU; // We do not check for comp id