mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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
|
||||
#endif
|
||||
|
||||
#define AP_BATTERY_ENABLED defined(HAL_PERIPH_ENABLE_BATTERY)
|
||||
|
||||
// end AP_Periph defaults
|
||||
''')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user