cleanup comments

This commit is contained in:
Michael Oborne 2013-03-31 17:14:54 +08:00
parent e80f2c094e
commit 541fa13291
2 changed files with 1 additions and 6 deletions

View File

@ -1892,9 +1892,7 @@ void GCS_MAVLINK::handleMessage(mavlink_message_t* msg)
gps_base_alt = g_gps->altitude;
current_loc.alt = 0;
}
// current_loc.lng = g_gps->longitude;
// current_loc.lat = g_gps->latitude;
// current_loc.alt = g_gps->altitude - gps_base_alt;
if (!ap.home_is_set) {
init_home();
}

View File

@ -39,9 +39,6 @@ AP_ADC_HIL::AP_ADC_HIL()
// set diff press and temp to zero
setGyroTemp(0);
setPressure(0);
//segfault here
//last_hil_time = hal.scheduler->millis();
}
void AP_ADC_HIL::Init()