mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
imu: Replace MAGIC_NUMBER with proper array size reference. Consistent with GPS_angle[ANGLE_INDEX_COUNT].
This commit is contained in:
parent
e5e7bec406
commit
c6a3d3c2f6
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ float gyroScaleRad;
|
|||
|
||||
|
||||
rollAndPitchInclination_t inclination = { { 0, 0 } }; // absolute angle inclination in multiple of 0.1 degree 180 deg = 1800
|
||||
float anglerad[2] = { 0.0f, 0.0f }; // absolute angle inclination in radians
|
||||
float anglerad[ANGLE_INDEX_COUNT] = { 0.0f, 0.0f }; // absolute angle inclination in radians
|
||||
|
||||
static imuRuntimeConfig_t *imuRuntimeConfig;
|
||||
static pidProfile_t *pidProfile;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue