mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Update external defines for ALT / POS HOLD (#14069)
* Update external defines for ALT / POS HOLD * Update unit test define
This commit is contained in:
parent
b5ab83b3bc
commit
2426f43502
21 changed files with 39 additions and 39 deletions
|
@ -1009,11 +1009,11 @@ void init(void)
|
|||
#endif
|
||||
|
||||
// autopilot must be initialised before modes that require the autopilot pids
|
||||
#ifdef USE_ALT_HOLD_MODE
|
||||
#ifdef USE_ALTITUDE_HOLD
|
||||
altHoldInit();
|
||||
#endif
|
||||
|
||||
#ifdef USE_POS_HOLD_MODE
|
||||
#ifdef USE_POSITION_HOLD
|
||||
posHoldInit();
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue