From 7afcdc05bbba5519ea521e1c00a4be040305283c Mon Sep 17 00:00:00 2001 From: Gautier Hattenberger Date: Thu, 25 Feb 2010 14:53:58 +0000 Subject: [PATCH] fix variable name --- sw/airborne/booz/guidance/booz2_guidance_h.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/airborne/booz/guidance/booz2_guidance_h.c b/sw/airborne/booz/guidance/booz2_guidance_h.c index 531c6eb3ba..2d06b1a62f 100644 --- a/sw/airborne/booz/guidance/booz2_guidance_h.c +++ b/sw/airborne/booz/guidance/booz2_guidance_h.c @@ -285,8 +285,8 @@ static inline void booz2_guidance_h_nav_run(bool_t in_flight) { INT32_VECT2_LSHIFT(booz2_guidance_h_accel_ref, b2_gh_accel_ref, (INT32_ACCEL_FRAC - B2_GH_ACCEL_REF_FRAC)); #else VECT2_COPY(booz2_guidance_h_pos_ref, booz2_guidance_h_pos_sp); - INT_VECT2_ZERO(booz2_guidance_v_speed_ref); - INT_VECT2_ZERO(booz2_guidance_v_accel_ref); + INT_VECT2_ZERO(booz2_guidance_h_speed_ref); + INT_VECT2_ZERO(booz2_guidance_h_accel_ref); #endif /* compute position error */