mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
ArduPlane: fix long booting
This commit is contained in:
parent
e139938e69
commit
72391d3649
@ -1523,10 +1523,7 @@ void Plane::load_parameters(void)
|
||||
{ Parameters::k_param_ins, 357, AP_PARAM_FLOAT, "INS_HNTC2_FREQ" },
|
||||
{ Parameters::k_param_ins, 421, AP_PARAM_FLOAT, "INS_HNTC2_BW" },
|
||||
};
|
||||
uint8_t notchfilt_table_size = ARRAY_SIZE(notchfilt_conversion_info);
|
||||
for (uint8_t i=0; i<notchfilt_table_size; i++) {
|
||||
AP_Param::convert_old_parameters(¬chfilt_conversion_info[i], 1.0f);
|
||||
}
|
||||
AP_Param::convert_old_parameters(¬chfilt_conversion_info[0], ARRAY_SIZE(notchfilt_conversion_info));
|
||||
AP_Param::set_default_by_name("INS_HNTC2_MODE", 0);
|
||||
AP_Param::set_default_by_name("INS_HNTC2_HMNCS", 1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user