Copter: flowhold formatting fixes

This commit is contained in:
Randy Mackay 2018-10-26 15:58:42 +09:00
parent 4eee1fc06a
commit 01c48f6c76

View File

@ -4,7 +4,7 @@
#if !HAL_MINIMIZE_FEATURES && OPTFLOW == ENABLED
/*
implement FLOWHOLD mode, for position hold using opttical flow
implement FLOWHOLD mode, for position hold using optical flow
without rangefinder
*/
@ -190,7 +190,6 @@ void Copter::ModeFlowHold::flowhold_flow_to_angle(Vector2f &bf_angles, bool stic
ef_output.zero();
}
ef_output += xy_I;
ef_output *= copter.aparm.angle_max;
@ -366,7 +365,6 @@ void Copter::ModeFlowHold::run()
}
}
/*
update height estimate using integrated accelerometer ratio with optical flow
*/
@ -520,4 +518,3 @@ void Copter::ModeFlowHold::update_height_estimate(void)
}
#endif // OPTFLOW == ENABLED