AP_Generator: add and use AP_Generator_config.h

This commit is contained in:
Peter Barker 2023-03-08 21:33:59 +11:00 committed by Peter Barker
parent b931617650
commit adc4bf66f8
1 changed files with 1 additions and 5 deletions

View File

@ -1,10 +1,6 @@
#pragma once
#include <AP_HAL/AP_HAL.h>
#ifndef HAL_GENERATOR_ENABLED
#define HAL_GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH)
#endif
#include "AP_Generator_config.h"
#if HAL_GENERATOR_ENABLED