mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Only declare attitudeIsEstablished is USE_ACC is defined
This commit is contained in:
parent
42f5f7caed
commit
587491ddbd
1 changed files with 2 additions and 0 deletions
|
@ -99,7 +99,9 @@ static imuRuntimeConfig_t imuRuntimeConfig;
|
|||
|
||||
float rMat[3][3];
|
||||
|
||||
#if defined(USE_ACC)
|
||||
STATIC_UNIT_TESTED bool attitudeIsEstablished = false;
|
||||
#endif
|
||||
|
||||
// quaternion of sensor frame relative to earth frame
|
||||
STATIC_UNIT_TESTED quaternion q = QUATERNION_INITIALIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue