You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
a helper class to give ability to HAL to have own parameters
|
|
|
|
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AP_HAL/AP_HAL.h>
|
|
|
|
|
|
|
|
#if defined(HAL_NEEDS_PARAM_HELPER)
|
|
|
|
#include <AP_Param/AP_Param.h>
|
|
|
|
|
|
|
|
class AP_Param_Helper
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
AP_Param_Helper(bool f);
|
|
|
|
|
|
|
|
static const AP_Param::GroupInfo var_info[];
|
|
|
|
|
|
|
|
// 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
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern AP_Param_Helper * hal_param_helper;
|
|
|
|
|
|
|
|
#endif
|