From cf68e31729492645d163868754072fd8328bb176 Mon Sep 17 00:00:00 2001 From: "tridge60@gmail.com" Date: Wed, 15 Jun 2011 12:25:00 +0000 Subject: [PATCH] fixed warnings in PID.h git-svn-id: https://arducopter.googlecode.com/svn/trunk@2560 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/PID/PID.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/PID/PID.h b/libraries/PID/PID.h index 46b88151c3..3d2ea1e2b0 100644 --- a/libraries/PID/PID.h +++ b/libraries/PID/PID.h @@ -107,8 +107,8 @@ public: void operator() (const float p, const float i, const float d, - const int16_t imax) { - _kp = p; _ki = i; _kd = d; _imax = imax; + const int16_t imaxval) { + _kp = p; _ki = i; _kd = d; _imax = imaxval; } float kP() const { return _kp.get(); }