AP_AHRS: move active_accel_instance into DCM private header section

This commit is contained in:
Peter Barker 2021-08-20 12:57:54 +10:00 committed by Andrew Tridgell
parent d6c7c59199
commit e2722c8e12
2 changed files with 3 additions and 3 deletions

View File

@ -453,7 +453,4 @@ protected:
float _sin_roll;
float _sin_pitch;
float _sin_yaw;
// which accelerometer instance is active
uint8_t _active_accel_instance;
};

View File

@ -214,6 +214,9 @@ private:
float _ra_deltat;
uint32_t _ra_sum_start;
// which accelerometer instance is active
uint8_t _active_accel_instance;
// the earths magnetic field
float _last_declination;
Vector2f _mag_earth{1, 0};