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:
Ryan Friedman 2025-01-02 23:45:40 -07:00 committed by Peter Barker
parent 4360a7ee7a
commit 5f8a655f35
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -0,0 +1,5 @@
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef HAL_SOARING_ENABLED
#define HAL_SOARING_ENABLED 1
#endif