mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-11 10:23:59 -04:00
AP_Soaring: Move define to config file
* Prepare for more compile time features in soaring Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
This commit is contained in:
parent
4360a7ee7a
commit
5f8a655f35
@ -9,12 +9,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_SOARING_ENABLED
|
||||
#define HAL_SOARING_ENABLED 1
|
||||
#endif
|
||||
|
||||
#include "AP_Soaring_config.h"
|
||||
#if HAL_SOARING_ENABLED
|
||||
|
||||
#include <AP_Param/AP_Param.h>
|
||||
|
5
libraries/AP_Soaring/AP_Soaring_config.h
Normal file
5
libraries/AP_Soaring/AP_Soaring_config.h
Normal file
@ -0,0 +1,5 @@
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
|
||||
#ifndef HAL_SOARING_ENABLED
|
||||
#define HAL_SOARING_ENABLED 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user