mirror of https://github.com/ArduPilot/ardupilot
30 lines
422 B
C++
30 lines
422 B
C++
/*
|
|
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
|