mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AC_PID: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
345fe1a9e4
commit
f9732b6c70
@ -18,10 +18,10 @@ public:
|
|||||||
// parameter var table
|
// parameter var table
|
||||||
static const struct AP_Param::GroupInfo var_info[];
|
static const struct AP_Param::GroupInfo var_info[];
|
||||||
|
|
||||||
float get_P() {
|
float get_P() const {
|
||||||
return output_P;
|
return output_P;
|
||||||
}
|
}
|
||||||
float get_I() {
|
float get_I() const {
|
||||||
return integrator;
|
return integrator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user