mirror of https://github.com/ArduPilot/ardupilot
AP_Arming: exclude body of AP_Arming.cpp based on AP_ARMING_ENABLED
This commit is contained in:
parent
8c5136e06d
commit
dc692f7169
|
@ -13,6 +13,10 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "AP_Arming_config.h"
|
||||
|
||||
#if AP_ARMING_ENABLED
|
||||
|
||||
#include "AP_Arming.h"
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
|
@ -2042,3 +2046,5 @@ AP_Arming &arming()
|
|||
};
|
||||
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#endif // AP_ARMING_ENABLED
|
||||
|
|
Loading…
Reference in New Issue