Sub: add param conversion from MAG_ENABLE to COMPASS_ENABLED

This commit is contained in:
Peter Barker 2019-03-25 19:35:03 +11:00 committed by Andrew Tridgell
parent fad769f3bf
commit 8b34852147
1 changed files with 2 additions and 0 deletions

View File

@ -650,6 +650,8 @@ const AP_Param::ConversionInfo conversion_table[] = {
{ Parameters::k_param_fs_batt_voltage, 0, AP_PARAM_FLOAT, "BATT_LOW_VOLT" },
{ Parameters::k_param_fs_batt_mah, 0, AP_PARAM_FLOAT, "BATT_LOW_MAH" },
{ Parameters::k_param_failsafe_battery_enabled, 0, AP_PARAM_INT8, "BATT_FS_LOW_ACT" },
{ Parameters::k_param_compass_enabled_deprecated, 0, AP_PARAM_INT8, "COMPASS_ENABLE" },
};
void Sub::load_parameters()