AC_P: add const accessor

This commit is contained in:
Randy Mackay 2017-11-21 11:34:12 +09:00
parent c1708db208
commit 398a0d89bf

View File

@ -56,6 +56,7 @@ public:
// accessors
AP_Float &kP() { return _kp; }
const AP_Float &kP() const { return _kp; }
void kP(const float v) { _kp.set(v); }
static const struct AP_Param::GroupInfo var_info[];