Browse Source

AP_YawController: fixup for ARM compiler

mission-4.1.18
Andrew Tridgell 12 years ago
parent
commit
d55acbc00a
  1. 2
      libraries/APM_Control/AP_YawController.h

2
libraries/APM_Control/AP_YawController.h

@ -42,7 +42,7 @@ private: @@ -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…
Cancel
Save