mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
GCS_MAVLink: move definition of HAL_GCS_ENABLED to GCS_config.h
This commit is contained in:
parent
b10344bac4
commit
3b3497eba0
@ -3,11 +3,7 @@
|
||||
// protocols.
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_GCS_ENABLED
|
||||
#define HAL_GCS_ENABLED 1
|
||||
#endif
|
||||
#include "GCS_config.h"
|
||||
|
||||
#if HAL_GCS_ENABLED
|
||||
|
||||
|
7
libraries/GCS_MAVLink/GCS_config.h
Normal file
7
libraries/GCS_MAVLink/GCS_config.h
Normal file
@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_GCS_ENABLED
|
||||
#define HAL_GCS_ENABLED 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user