AC_AttitudeControl: 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:25 -03:00 committed by Andrew Tridgell
parent 28c03ffb4e
commit e3d018c401
2 changed files with 2 additions and 2 deletions

View File

@ -470,7 +470,7 @@ protected:
public:
// log a CTRL message
void control_monitor_log(void);
void control_monitor_log(void) const;
// return current RMS controller filter for each axis
float control_monitor_rms_output_roll(void) const;

View File

@ -39,7 +39,7 @@ void AC_AttitudeControl::control_monitor_update(void)
/*
log a CRTL message
*/
void AC_AttitudeControl::control_monitor_log(void)
void AC_AttitudeControl::control_monitor_log(void) const
{
// @LoggerMessage: CTRL
// @Description: Attitude Control oscillation monitor diagnostics