mirror of https://github.com/ArduPilot/ardupilot
AP_Arming: squash bitwise & warnings
This commit is contained in:
parent
813cf3660d
commit
76e2d950d4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue