mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: create and use AP_BATTERY_ENABLED
simply as a way to get HAL_PERIPH_ENABLE_BATTERY out of the main code
This commit is contained in:
parent
85aee2e44a
commit
209cba7f89
|
@ -3272,6 +3272,8 @@ INCLUDE common.ld
|
||||||
#define AP_SCRIPTING_ENABLED 0
|
#define AP_SCRIPTING_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define AP_BATTERY_ENABLED defined(HAL_PERIPH_ENABLE_BATTERY)
|
||||||
|
|
||||||
// end AP_Periph defaults
|
// end AP_Periph defaults
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue