APM:Libraries
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)
22 #endif
23 
24 // per board params - only if defined
25 #ifdef BOARD_HAL_PARAMS
27 #endif
28 
29 };
30 
31 
32 extern AP_Param_Helper * hal_param_helper;
33 
34 #endif
#define BOARD_HAL_PARAMS
Definition: board.h:208
A system for managing and storing variables that are of general interest to the system.
#define f(i)
#define F4LIGHT_HAL_PARAMS
Definition: params.h:97