AP_HAL_ChibiOS: specify AP_BATTERY_ESC_ENABLED for periph in chibios_hwdef.py

This commit is contained in:
Peter Barker 2023-03-10 14:00:01 +11:00 committed by Peter Barker
parent fab230cd50
commit 48ec224b8c

View File

@ -2927,6 +2927,10 @@ def add_apperiph_defaults(f):
#define AP_STATS_ENABLED 0
#endif
#ifndef AP_BATTERY_ESC_ENABLED
#define AP_BATTERY_ESC_ENABLED 0
#endif
/*
* GPS Backends - we selectively turn backends on.
* Note also that f103-GPS explicitly disables some of these backends.