mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-07 15:30:35 +08:00
ekf: access member variable without getter
This commit is contained in:
committed by
Mathieu Bresciani
parent
904bf8ef9f
commit
f96287b80a
@@ -828,7 +828,7 @@ void Ekf::checkVerticalAccelerationHealth()
|
||||
void Ekf::controlHeightFusion()
|
||||
{
|
||||
checkRangeAidSuitability();
|
||||
const bool do_range_aid = (_params.range_aid == 1) && isRangeAidSuitable();
|
||||
const bool do_range_aid = (_params.range_aid == 1) && _is_range_aid_suitable;
|
||||
|
||||
switch (_params.vdist_sensor_type) {
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user