Skip to content

Commit

Permalink
[fix] no error when missing a airframe parameter in energy-ctrl
Browse files Browse the repository at this point in the history
  • Loading branch information
dewagter committed Oct 13, 2012
1 parent b693812 commit 34b565f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sw/airborne/firmwares/fixedwing/guidance/energy_ctrl.c
Expand Up @@ -172,6 +172,8 @@ void v_ctl_init( void ) {

#ifdef V_CTL_ALTITUDE_PGAIN
v_ctl_altitude_pgain = V_CTL_ALTITUDE_PGAIN;
#endif
#ifdef V_CTL_AIRSPEED_PGAIN
v_ctl_airspeed_pgain = V_CTL_AIRSPEED_PGAIN;
#endif

Expand Down

0 comments on commit 34b565f

Please sign in to comment.