AP_HAL_ChibiOS: 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 89a77f84f1
commit 806f0bf97a

View File

@ -2881,6 +2881,10 @@ def add_apperiph_defaults(f):
#define AP_FETTEC_ONEWIRE_ENABLED 0
#endif
#ifndef HAL_GENERATOR_ENABLED
#define HAL_GENERATOR_ENABLED 0
#endif
#ifndef HAL_BARO_WIND_COMP_ENABLED
#define HAL_BARO_WIND_COMP_ENABLED 0
#endif