Plane: cleanup mavlink_system setup

This commit is contained in:
Andrew Tridgell 2014-12-17 11:30:04 +11:00
parent 87df3c3442
commit eb13395967
1 changed files with 0 additions and 3 deletions

View File

@ -178,9 +178,6 @@ static void init_ardupilot()
// GPS Initialization // GPS Initialization
gps.init(&DataFlash); gps.init(&DataFlash);
//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
init_rc_in(); // sets up rc channels from radio init_rc_in(); // sets up rc channels from radio
init_rc_out(); // sets up the timer libs init_rc_out(); // sets up the timer libs