mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-09 16:13:56 -03:00
AP_AHRS_DCM: compile error fix for low speed CPUs
Also correct initialisatoin order to remove compiler warning
This commit is contained in:
parent
bfe71fea82
commit
4452aa8448
@ -50,8 +50,10 @@ public:
|
||||
_last_wind_time(0),
|
||||
_last_airspeed(0.0f),
|
||||
_last_consistent_heading(0),
|
||||
_last_failure_ms(0),
|
||||
_imu1_weight(0.5f)
|
||||
#if HAL_CPU_CLASS >= HAL_CPU_CLASS_75
|
||||
_imu1_weight(0.5f),
|
||||
#endif
|
||||
_last_failure_ms(0)
|
||||
{
|
||||
_dcm_matrix.identity();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user