diff --git a/ArduCopter/commands_process.pde b/ArduCopter/commands_process.pde index bf530bfa6f..2af2e8d076 100644 --- a/ArduCopter/commands_process.pde +++ b/ArduCopter/commands_process.pde @@ -79,7 +79,7 @@ static void update_commands() if(tmp_loc.lat == 0){ fast_corner = false; }else{ - int32_t temp = get_bearing(&next_WP, &tmp_loc) - original_target_bearing; + int32_t temp = get_bearing_cd(&next_WP, &tmp_loc) - original_target_bearing; temp = wrap_180(temp); fast_corner = abs(temp) < 6000; }