From f67c4d7c990947443def43197c720375e5c99a6f Mon Sep 17 00:00:00 2001 From: "james.goppert" Date: Mon, 4 Apr 2011 03:26:58 +0000 Subject: [PATCH] Fixed controller prototype for update. git-svn-id: https://arducopter.googlecode.com/svn/trunk@1847 f9c3cf11-9bcb-44bc-f272-b75c42450872 --- libraries/AP_Controller/AP_Controller.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Controller/AP_Controller.h b/libraries/AP_Controller/AP_Controller.h index 20301c6e57..566807798d 100644 --- a/libraries/AP_Controller/AP_Controller.h +++ b/libraries/AP_Controller/AP_Controller.h @@ -76,7 +76,7 @@ public: } _blocks.push_back(block); } - virtual void update(const double dt) + virtual void update(const float & dt) { for (int i=0;i<_blocks.getSize();i++) {