AC_PID: Add missing const in member functions

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
Patrick José Pereira 2021-02-01 13:26:26 -03:00 committed by Andrew Tridgell
parent 345fe1a9e4
commit f9732b6c70
1 changed files with 2 additions and 2 deletions

View File

@ -18,10 +18,10 @@ public:
// parameter var table
static const struct AP_Param::GroupInfo var_info[];
float get_P() {
float get_P() const {
return output_P;
}
float get_I() {
float get_I() const {
return integrator;
}