AP_Generator: AP_Periph should not include Generator by default

This commit is contained in:
Tom Pittenger 2020-11-24 15:06:08 -08:00 committed by Andrew Tridgell
parent 171a10e117
commit 87813b9401

View File

@ -3,7 +3,7 @@
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
#ifndef GENERATOR_ENABLED #ifndef GENERATOR_ENABLED
#define GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES #define GENERATOR_ENABLED !HAL_MINIMIZE_FEATURES && !defined(HAL_BUILD_AP_PERIPH)
#endif #endif
#if GENERATOR_ENABLED #if GENERATOR_ENABLED