mirror of https://github.com/ArduPilot/ardupilot
AHRS: fixup for ARM compiler
This commit is contained in:
parent
d55acbc00a
commit
1b0670e67c
|
@ -199,7 +199,7 @@ protected:
|
||||||
Vector3f _accel_ef;
|
Vector3f _accel_ef;
|
||||||
|
|
||||||
// acceleration due to gravity in m/s/s
|
// acceleration due to gravity in m/s/s
|
||||||
static const float _gravity = 9.80665;
|
static constexpr float _gravity = 9.80665;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue