AP_Terrain: create and use AP_Terrain_config.h

This commit is contained in:
Peter Barker 2024-09-22 22:11:24 +10:00 committed by Andrew Tridgell
parent 4b1e1871c9
commit 82ac0ead72
2 changed files with 9 additions and 6 deletions

View File

@ -14,12 +14,7 @@
*/
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Filesystem/AP_Filesystem_config.h>
#ifndef AP_TERRAIN_AVAILABLE
#define AP_TERRAIN_AVAILABLE AP_FILESYSTEM_FILE_READING_ENABLED
#endif
#include "AP_Terrain_config.h"
#if AP_TERRAIN_AVAILABLE

View File

@ -0,0 +1,8 @@
#pragma once
#include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Filesystem/AP_Filesystem_config.h>
#ifndef AP_TERRAIN_AVAILABLE
#define AP_TERRAIN_AVAILABLE AP_FILESYSTEM_FILE_READING_ENABLED
#endif