mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AC_WPNav: Compiler warnings: add in the appropriate whitrespace
This commit is contained in:
parent
0e076d6dc8
commit
1b84bbc3e7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user