mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 00:33:36 +08:00
temperature_compensation: rename TC_A_ENABLE to TC_M_ENABLE for mag.cpp
This commit is contained in:
@@ -163,10 +163,10 @@ int TemperatureCalibrationMag::finish()
|
|||||||
}
|
}
|
||||||
|
|
||||||
int32_t enabled = 1;
|
int32_t enabled = 1;
|
||||||
int result = param_set_no_notification(param_find("TC_A_ENABLE"), &enabled);
|
int result = param_set_no_notification(param_find("TC_M_ENABLE"), &enabled);
|
||||||
|
|
||||||
if (result != PX4_OK) {
|
if (result != PX4_OK) {
|
||||||
PX4_ERR("unable to reset TC_A_ENABLE (%i)", result);
|
PX4_ERR("unable to reset TC_M_ENABLE (%i)", result);
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user