1
0
Fork 0
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:
Mark Haslinghuis 2024-12-08 16:23:38 +01:00 committed by GitHub
parent b5ab83b3bc
commit 2426f43502
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 39 additions and 39 deletions

View file

@ -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