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.
30 lines
422 B
30 lines
422 B
7 years ago
|
/*
|
||
|
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[];
|
||
|
|
||
|
// only if defined
|
||
|
#ifdef BOARD_HAL_PARAMS
|
||
|
BOARD_HAL_PARAMS
|
||
|
#endif
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
extern AP_Param_Helper * hal_param_helper;
|
||
|
|
||
|
#endif
|