Tracker: minor formatting fix

No functional change
This commit is contained in:
Randy Mackay 2016-08-08 11:52:40 +09:00
parent 0e5a91bb1b
commit 20ade3bb17
1 changed files with 2 additions and 2 deletions

View File

@ -575,7 +575,7 @@ void GCS_MAVLINK_Tracker::handleMessage(mavlink_message_t* msg)
} else {
result = MAV_RESULT_FAILED;
}
}
}
if (is_equal(packet.param3,1.0f)) {
tracker.init_barometer(false);
// zero the altitude difference on next baro update
@ -603,7 +603,7 @@ void GCS_MAVLINK_Tracker::handleMessage(mavlink_message_t* msg)
tracker.ins.init_gyro();
// accel trim
float trim_roll, trim_pitch;
if(tracker.ins.calibrate_trim(trim_roll, trim_pitch)) {
if (tracker.ins.calibrate_trim(trim_roll, trim_pitch)) {
// reset ahrs's trim to suggested values from calibration routine
tracker.ahrs.set_trim(Vector3f(trim_roll, trim_pitch, 0));
result = MAV_RESULT_ACCEPTED;