APM:Libraries
libraries
AP_Param_Helper
AP_Param_Helper.h
Go to the documentation of this file.
1
/*
2
a helper class to give ability to HAL to have own parameters
3
4
*/
5
#pragma once
6
7
#include <
AP_HAL/AP_HAL.h
>
8
9
#if defined(HAL_NEEDS_PARAM_HELPER)
10
#include <
AP_Param/AP_Param.h
>
11
12
class
AP_Param_Helper
13
{
14
public
:
15
AP_Param_Helper(
bool
f
);
16
17
static
const
AP_Param::GroupInfo
var_info[];
18
19
// common HAL params
20
#if defined(F4LIGHT_HAL_PARAMS)
21
F4LIGHT_HAL_PARAMS
22
#endif
23
24
// per board params - only if defined
25
#ifdef BOARD_HAL_PARAMS
26
BOARD_HAL_PARAMS
27
#endif
28
29
};
30
31
32
extern
AP_Param_Helper * hal_param_helper;
33
34
#endif
BOARD_HAL_PARAMS
#define BOARD_HAL_PARAMS
Definition:
board.h:208
AP_HAL.h
AP_Param.h
A system for managing and storing variables that are of general interest to the system.
f
#define f(i)
AP_Param::GroupInfo
Definition:
AP_Param.h:145
F4LIGHT_HAL_PARAMS
#define F4LIGHT_HAL_PARAMS
Definition:
params.h:97
Generated on Sun Jun 17 2018 14:18:50 for APM:Libraries by
1.8.13