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++) {