mirror of https://github.com/ArduPilot/ardupilot
AP_Param: expose check_var_info() as a public symbol
This commit is contained in:
parent
f06152530c
commit
688f61c087
|
@ -112,8 +112,6 @@ public:
|
|||
uint16_t i;
|
||||
for (i=0; pgm_read_byte(&info[i].type) != AP_PARAM_NONE; i++) ;
|
||||
_num_vars = i;
|
||||
|
||||
check_var_info();
|
||||
}
|
||||
|
||||
// empty constructor
|
||||
|
@ -245,6 +243,9 @@ public:
|
|||
/// cast a variable to a float given its type
|
||||
float cast_to_float(enum ap_var_type type) const;
|
||||
|
||||
// check var table for consistency
|
||||
static bool check_var_info(void);
|
||||
|
||||
private:
|
||||
/// EEPROM header
|
||||
///
|
||||
|
@ -285,7 +286,6 @@ private:
|
|||
|
||||
static bool check_group_info(const struct GroupInfo *group_info, uint16_t *total_size, uint8_t max_bits);
|
||||
static bool duplicate_key(uint8_t vindex, uint8_t key);
|
||||
static bool check_var_info(void);
|
||||
const struct Info * find_var_info_group(
|
||||
const struct GroupInfo * group_info,
|
||||
uint8_t vindex,
|
||||
|
|
Loading…
Reference in New Issue