APM:Libraries
AP_Param_Helper.cpp
Go to the documentation of this file.
1 #include "AP_Param_Helper.h"
2 
3 #include <AP_HAL/AP_HAL.h>
4 
5 #if defined(HAL_NEEDS_PARAM_HELPER)
6 
7 const AP_Param::GroupInfo AP_Param_Helper::var_info[] = {
8 #if defined(F4LIGHT_HAL_VARINFO)
10 #endif
11 
12 // only if board defines parameters
13 #ifdef BOARD_HAL_VARINFO
15 #endif
17 };
18 
19 
20 extern const AP_HAL::HAL& hal;
21 
22 AP_Param_Helper::AP_Param_Helper(bool f){
23  f=!f;
24 
25  hal_param_helper=this;
26  AP_Param::setup_object_defaults(this, var_info); // setup all params
27 }
28 
29 
30 AP_Param_Helper * hal_param_helper;
31 
32 #endif
const AP_HAL::HAL & hal
Definition: UARTDriver.cpp:37
#define F4LIGHT_HAL_VARINFO
Definition: params.h:77
#define f(i)
#define BOARD_HAL_VARINFO
Definition: board.h:196
#define AP_GROUPEND
Definition: AP_Param.h:121
static void setup_object_defaults(const void *object_pointer, const struct GroupInfo *group_info)
Definition: AP_Param.cpp:1214