AP_YawController: fixup for ARM compiler

This commit is contained in:
Andrew Tridgell 2013-01-02 12:51:02 +11:00
parent 1a49549e3e
commit d55acbc00a

View File

@ -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__