mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-22 12:28:03 +08:00
[fix] no error when missing a airframe parameter in energy-ctrl
This commit is contained in:
committed by
Felix Ruess
parent
f782440af4
commit
576423de74
@@ -173,6 +173,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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user