mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_HAL_ChibiOS: add more comments to generated hwdef.h
End-delimiters for e.g. AP_Periph defaults etc
This commit is contained in:
parent
e2e239dd08
commit
8d29116982
@ -3000,6 +3000,8 @@ def add_apperiph_defaults(f):
|
||||
#ifndef HAL_ENABLE_SAVE_PERSISTENT_PARAMS
|
||||
#define HAL_ENABLE_SAVE_PERSISTENT_PARAMS 0
|
||||
#endif
|
||||
|
||||
// end AP_Periph defaults
|
||||
''')
|
||||
|
||||
def add_bootloader_defaults(f):
|
||||
@ -3043,6 +3045,8 @@ def add_bootloader_defaults(f):
|
||||
#ifndef AP_FAULTHANDLER_DEBUG_VARIABLES_ENABLED
|
||||
#define AP_FAULTHANDLER_DEBUG_VARIABLES_ENABLED 0
|
||||
#endif
|
||||
|
||||
// end AP_Bootloader defaults
|
||||
''')
|
||||
|
||||
def add_iomcu_firmware_defaults(f):
|
||||
@ -3075,6 +3079,8 @@ def add_iomcu_firmware_defaults(f):
|
||||
#ifndef AP_FAULTHANDLER_DEBUG_VARIABLES_ENABLED
|
||||
#define AP_FAULTHANDLER_DEBUG_VARIABLES_ENABLED 0
|
||||
#endif
|
||||
|
||||
// end IOMCU Firmware defaults
|
||||
''')
|
||||
|
||||
def add_normal_firmware_defaults(f):
|
||||
@ -3097,6 +3103,7 @@ def add_normal_firmware_defaults(f):
|
||||
#define HAL_DSHOT_ALARM_ENABLED (HAL_PWM_COUNT>0)
|
||||
#endif
|
||||
|
||||
// end firmware defaults
|
||||
''')
|
||||
|
||||
# process input file
|
||||
|
Loading…
Reference in New Issue
Block a user