mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
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;
|
extern AP_IOMCU iomcu;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#if defined (__clang__)
|
||||||
|
#pragma GCC diagnostic ignored "-Wbitwise-instead-of-logical"
|
||||||
|
#endif
|
||||||
|
|
||||||
AP_Arming::AP_Arming()
|
AP_Arming::AP_Arming()
|
||||||
{
|
{
|
||||||
if (_singleton) {
|
if (_singleton) {
|
||||||
@ -1846,3 +1851,5 @@ AP_Arming &arming()
|
|||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
Loading…
Reference in New Issue
Block a user