AP_Generator: specify HAL_GENERATOR_ENABLED for periph in chibios_hwdef.py

This commit is contained in:
Peter Barker 2023-03-10 13:10:44 +11:00 committed by Peter Barker
parent 56d6acf985
commit 89a77f84f1

View File

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