mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_HAL_ChibiOS: chibios_hwdef: use ifndef pattern for AP_FETTEC_ONEWIRE_ENABLED
This commit is contained in:
parent
bd63ce3eb6
commit
ee68072c62
@ -2568,8 +2568,12 @@ def add_apperiph_defaults(f):
|
|||||||
#ifndef HAL_WATCHDOG_ENABLED_DEFAULT
|
#ifndef HAL_WATCHDOG_ENABLED_DEFAULT
|
||||||
#define HAL_WATCHDOG_ENABLED_DEFAULT true
|
#define HAL_WATCHDOG_ENABLED_DEFAULT true
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef AP_FETTEC_ONEWIRE_ENABLED
|
||||||
|
#define AP_FETTEC_ONEWIRE_ENABLED 0
|
||||||
|
#endif
|
||||||
''')
|
''')
|
||||||
|
|
||||||
|
|
||||||
# process input file
|
# process input file
|
||||||
for fname in args.hwdef:
|
for fname in args.hwdef:
|
||||||
|
Loading…
Reference in New Issue
Block a user