AP_BattMonitor: specify AP_BATTERY_ESC_ENABLED for periph in chibios_hwdef.py
This commit is contained in:
parent
5ad5605bc8
commit
fab230cd50
@ -23,7 +23,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef AP_BATTERY_ESC_ENABLED
|
||||
#define AP_BATTERY_ESC_ENABLED AP_BATTERY_BACKEND_DEFAULT_ENABLED && (HAL_WITH_ESC_TELEM && !defined(HAL_BUILD_AP_PERIPH))
|
||||
#define AP_BATTERY_ESC_ENABLED AP_BATTERY_BACKEND_DEFAULT_ENABLED && HAL_WITH_ESC_TELEM
|
||||
#endif
|
||||
|
||||
#ifndef AP_BATTERY_SMBUS_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user