mirror of https://github.com/ArduPilot/ardupilot
AP_Generator: AP_Periph should not include Generator by default
This commit is contained in:
parent
171a10e117
commit
87813b9401
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue