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.
32 lines
562 B
32 lines
562 B
#include "AP_Param_Helper.h" |
|
|
|
#include <AP_HAL/AP_HAL.h> |
|
|
|
#if defined(HAL_NEEDS_PARAM_HELPER) |
|
|
|
const AP_Param::GroupInfo AP_Param_Helper::var_info[] = { |
|
#if defined(F4LIGHT_HAL_VARINFO) |
|
F4LIGHT_HAL_VARINFO |
|
#endif |
|
|
|
// only if board defines parameters |
|
#ifdef BOARD_HAL_VARINFO |
|
BOARD_HAL_VARINFO |
|
#endif |
|
AP_GROUPEND |
|
}; |
|
|
|
|
|
extern const AP_HAL::HAL& hal; |
|
|
|
AP_Param_Helper::AP_Param_Helper(bool f){ |
|
f=!f; |
|
|
|
hal_param_helper=this; |
|
AP_Param::setup_object_defaults(this, var_info); // setup all params |
|
} |
|
|
|
|
|
AP_Param_Helper * hal_param_helper; |
|
|
|
#endif
|
|
|