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
1 changed files with 1 additions and 1 deletions

View File

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