AP_HAL_ChibiOS: use chibios_hwdef.py to disable fence on AP_Periph

This commit is contained in:
Peter Barker 2023-01-05 08:41:28 +11:00 committed by Andrew Tridgell
parent 401f55254b
commit 28592269ff

View File

@ -2974,6 +2974,10 @@ def add_apperiph_defaults(f):
#define AP_INERTIALSENSOR_ENABLED 0
#endif
// no fence by default in AP_Periph:
#ifndef AP_FENCE_ENABLED
#define AP_FENCE_ENABLED 0
#endif
''')
def add_bootloader_defaults(f):