mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 02:58:31 -04:00
cleanup comments
This commit is contained in:
parent
e80f2c094e
commit
541fa13291
@ -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();
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user