mirror of https://github.com/ArduPilot/ardupilot
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
|
||||
#define HAL_WATCHDOG_ENABLED_DEFAULT true
|
||||
#endif
|
||||
|
||||
#ifndef AP_FETTEC_ONEWIRE_ENABLED
|
||||
#define AP_FETTEC_ONEWIRE_ENABLED 0
|
||||
#endif
|
||||
''')
|
||||
|
||||
|
||||
|
||||
# process input file
|
||||
for fname in args.hwdef:
|
||||
|
|
Loading…
Reference in New Issue