mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Param_Helper: HAL_F4Light parameters divided into common and board specific
This commit is contained in:
parent
5c0c3a0f08
commit
d75491371d
@ -5,9 +5,13 @@
|
||||
#if defined(HAL_NEEDS_PARAM_HELPER)
|
||||
|
||||
const AP_Param::GroupInfo AP_Param_Helper::var_info[] = {
|
||||
#if defined(F4LIGHT_HAL_VARINFO)
|
||||
F4LIGHT_HAL_VARINFO
|
||||
#endif
|
||||
|
||||
// only if board defines parameters
|
||||
#ifdef BOARD_HAL_VARINFO
|
||||
BOARD_HAL_VARINFO,
|
||||
BOARD_HAL_VARINFO
|
||||
#endif
|
||||
AP_GROUPEND
|
||||
};
|
||||
|
@ -16,7 +16,12 @@ public:
|
||||
|
||||
static const AP_Param::GroupInfo var_info[];
|
||||
|
||||
// only if defined
|
||||
// common HAL params
|
||||
#if defined(F4LIGHT_HAL_PARAMS)
|
||||
F4LIGHT_HAL_PARAMS
|
||||
#endif
|
||||
|
||||
// per board params - only if defined
|
||||
#ifdef BOARD_HAL_PARAMS
|
||||
BOARD_HAL_PARAMS
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user