Skip to content

Commit

Permalink
AC_Fence: always disable MinAlt fence on landing
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jun 22, 2024
1 parent dda9f0e commit 12f85fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libraries/AC_Fence/AC_Fence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ uint8_t AC_Fence::get_auto_disable_fences(void) const
auto_disable = _auto_enable_mask & AC_FENCE_TYPE_ALT_MIN;
break;
default:
// when auto disable is not set we still need to disable the altmin fence on landing
auto_disable = AC_FENCE_TYPE_ALT_MIN;
break;
}
return auto_disable;
Expand Down

0 comments on commit 12f85fd

Please sign in to comment.