mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 22:39:05 +08:00
temperature_compensation: rename TC_A_ENABLE to TC_M_ENABLE for mag.cpp
This commit is contained in:
parent
35b0e93387
commit
8b96cd5372
@ -163,10 +163,10 @@ int TemperatureCalibrationMag::finish()
|
||||
}
|
||||
|
||||
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) {
|
||||
PX4_ERR("unable to reset TC_A_ENABLE (%i)", result);
|
||||
PX4_ERR("unable to reset TC_M_ENABLE (%i)", result);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user