AP_Arming: squash bitwise & warnings

This commit is contained in:
Andy Piper 2023-06-14 11:27:44 -04:00 committed by Peter Barker
parent 813cf3660d
commit 76e2d950d4
1 changed files with 7 additions and 0 deletions

View File

@ -152,6 +152,11 @@ const AP_Param::GroupInfo AP_Arming::var_info[] = {
extern AP_IOMCU iomcu;
#endif
#pragma GCC diagnostic push
#if defined (__clang__)
#pragma GCC diagnostic ignored "-Wbitwise-instead-of-logical"
#endif
AP_Arming::AP_Arming()
{
if (_singleton) {
@ -1846,3 +1851,5 @@ AP_Arming &arming()
}
};
#pragma GCC diagnostic pop