AC_PID: minor formatting change

This commit is contained in:
Randy Mackay 2017-08-08 14:37:50 +09:00
parent 1901cb6c7f
commit f995106c1e
1 changed files with 1 additions and 2 deletions

View File

@ -20,8 +20,7 @@ public:
/// ///
/// @param initial_p Initial value for the P term. /// @param initial_p Initial value for the P term.
/// ///
AC_P( AC_P(const float &initial_p = 0.0f)
const float & initial_p = 0.0f)
{ {
AP_Param::setup_object_defaults(this, var_info); AP_Param::setup_object_defaults(this, var_info);
_kp = initial_p; _kp = initial_p;