mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AC_Autorotation: allow compilation with HAL_LOGGING_ENABLED false
This commit is contained in:
parent
2359ffc7da
commit
65baf8abc7
@ -252,6 +252,7 @@ float AC_Autorotation::get_rpm(bool update_counter)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#if HAL_LOGGING_ENABLED
|
||||||
void AC_Autorotation::Log_Write_Autorotation(void) const
|
void AC_Autorotation::Log_Write_Autorotation(void) const
|
||||||
{
|
{
|
||||||
// @LoggerMessage: AROT
|
// @LoggerMessage: AROT
|
||||||
@ -289,7 +290,7 @@ void AC_Autorotation::Log_Write_Autorotation(void) const
|
|||||||
(double)_accel_target,
|
(double)_accel_target,
|
||||||
(double)_pitch_target);
|
(double)_pitch_target);
|
||||||
}
|
}
|
||||||
|
#endif // HAL_LOGGING_ENABLED
|
||||||
|
|
||||||
// Initialise forward speed controller
|
// Initialise forward speed controller
|
||||||
void AC_Autorotation::init_fwd_spd_controller(void)
|
void AC_Autorotation::init_fwd_spd_controller(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user