fixed warnings in PID.h

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2560 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
tridge60@gmail.com 2011-06-15 12:25:00 +00:00
parent cb492ac00e
commit cf68e31729

View File

@ -107,8 +107,8 @@ public:
void operator() (const float p, void operator() (const float p,
const float i, const float i,
const float d, const float d,
const int16_t imax) { const int16_t imaxval) {
_kp = p; _ki = i; _kd = d; _imax = imax; _kp = p; _ki = i; _kd = d; _imax = imaxval;
} }
float kP() const { return _kp.get(); } float kP() const { return _kp.get(); }