mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
exclude the AOA code if USE_AOA is not defined
This commit is contained in:
@@ -56,10 +56,12 @@ extern float h_ctl_roll_pgain;
|
||||
extern pprz_t h_ctl_aileron_setpoint;
|
||||
extern float h_ctl_roll_slew;
|
||||
|
||||
#ifdef USE_AOA
|
||||
/* Pitch mode */
|
||||
#define H_CTL_PITCH_MODE_THETA 0
|
||||
#define H_CTL_PITCH_MODE_AOA 1
|
||||
extern uint8_t h_ctl_pitch_mode;
|
||||
#endif
|
||||
|
||||
/* inner pitch loop parameters */
|
||||
extern float h_ctl_pitch_setpoint;
|
||||
|
||||
Reference in New Issue
Block a user