GCS_MAVLink: move definition of HAL_GCS_ENABLED to GCS_config.h

This commit is contained in:
Peter Barker 2022-07-14 15:23:04 +10:00 committed by Andrew Tridgell
parent b10344bac4
commit 3b3497eba0
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -0,0 +1,7 @@
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_GCS_ENABLED
#define HAL_GCS_ENABLED 1
#endif