AP_YawController: fixup for ARM compiler
This commit is contained in:
parent
1a49549e3e
commit
d55acbc00a
@ -42,7 +42,7 @@ private:
|
||||
// Low pass filter cut frequency for derivative calculation.
|
||||
// FCUT macro computes a frequency cut based on an acceptable delay.
|
||||
#define FCUT(d) (1 / ( 2 * 3.14 * (d) ) )
|
||||
static const float _fCut = FCUT(.5);
|
||||
static constexpr float _fCut = FCUT(.5);
|
||||
};
|
||||
|
||||
#endif // __AP_YAW_CONTROLLER_H__
|
||||
|
Loading…
Reference in New Issue
Block a user