mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Blimp: be consistent in our ignoring of -Wbitwise-instead-of-logical
makes this the same as Copter and the base AP_Arming library
This commit is contained in:
committed by
Peter Barker
parent
2f7ba11ff4
commit
07bafbcfac
@@ -35,7 +35,9 @@ bool AP_Arming_Blimp::run_pre_arm_checks(bool display_failure)
|
||||
}
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#if defined(__clang_major__) && __clang_major__ >= 14
|
||||
#pragma clang diagnostic ignored "-Wbitwise-instead-of-logical"
|
||||
#endif
|
||||
return parameter_checks(display_failure)
|
||||
#if AP_FENCE_ENABLED
|
||||
& fence_checks(display_failure)
|
||||
|
||||
Reference in New Issue
Block a user