From 8b96cd5372c343ef2a3f8a8b805d5b39b47a8008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Mi=C5=A1i=C4=87?= Date: Tue, 23 Jan 2024 19:14:42 +0100 Subject: [PATCH] temperature_compensation: rename TC_A_ENABLE to TC_M_ENABLE for mag.cpp --- .../temperature_compensation/temperature_calibration/mag.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/temperature_compensation/temperature_calibration/mag.cpp b/src/modules/temperature_compensation/temperature_calibration/mag.cpp index 714e928af6..536b74b5f3 100644 --- a/src/modules/temperature_compensation/temperature_calibration/mag.cpp +++ b/src/modules/temperature_compensation/temperature_calibration/mag.cpp @@ -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;