mirror of https://github.com/ArduPilot/ardupilot
AP_Param: include defaulkts-file-parsing when AP_PARAM_DYNAMIC_ENABLED
This commit is contained in:
parent
e958e7b720
commit
bd2d0100cd
|
@ -2144,7 +2144,7 @@ bool AP_Param::parse_param_line(char *line, char **vname, float &value, bool &re
|
|||
}
|
||||
|
||||
|
||||
#if AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED
|
||||
#if AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED || AP_PARAM_DYNAMIC_ENABLED
|
||||
|
||||
// increments num_defaults for each default found in filename
|
||||
bool AP_Param::count_defaults_in_file(const char *filename, uint16_t &num_defaults)
|
||||
|
|
Loading…
Reference in New Issue