AC_WPNav: Compiler warnings: add in the appropriate whitrespace

This commit is contained in:
Tom Pittenger 2015-05-04 15:39:22 -07:00 committed by Andrew Tridgell
parent 0e076d6dc8
commit 1b84bbc3e7

View File

@ -682,7 +682,7 @@ void AC_WPNav::calculate_wp_leash_length()
}
// calculate the maximum acceleration, maximum velocity, and leash length in the direction of travel
if(AP_Math::is_zero(pos_delta_unit_z) &&AP_Math::is_zero(pos_delta_unit_xy)){
if(AP_Math::is_zero(pos_delta_unit_z) && AP_Math::is_zero(pos_delta_unit_xy)){
_track_accel = 0;
_track_speed = 0;
_track_leash_length = WPNAV_LEASH_LENGTH_MIN;