AP_AHRS: added comment from review

This commit is contained in:
Andrew Tridgell 2020-11-08 08:31:39 +11:00
parent 905ffed7fd
commit cb830dcc11
1 changed files with 2 additions and 0 deletions

View File

@ -1995,6 +1995,8 @@ bool AP_AHRS_NavEKF::get_hgt_ctrl_limit(float& limit) const
// this is not related to terrain following
void AP_AHRS_NavEKF::set_terrain_hgt_stable(bool stable)
{
// avoid repeatedly setting variable in NavEKF objects to prevent
// spurious event logging
switch (terrainHgtStableState) {
case TriState::UNKNOWN:
break;