From d6067cdc1cccc0d1ff80c90c9614dfbd6a16a77c Mon Sep 17 00:00:00 2001 From: Rhys Mainwaring Date: Mon, 1 Jul 2024 17:44:26 +0100 Subject: [PATCH] Correct name of sensor in warning message (#2457) Signed-off-by: Rhys Mainwaring --- src/systems/magnetometer/Magnetometer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systems/magnetometer/Magnetometer.cc b/src/systems/magnetometer/Magnetometer.cc index 82b4e8d0f4..105792b426 100644 --- a/src/systems/magnetometer/Magnetometer.cc +++ b/src/systems/magnetometer/Magnetometer.cc @@ -430,7 +430,7 @@ void MagnetometerPrivate::Update( auto latLonEle = sphericalCoordinates(_entity, _ecm); if (!latLonEle) { - gzwarn << "Failed to update NavSat sensor enity [" << _entity + gzwarn << "Failed to update Magnetometer sensor enity [" << _entity << "]. Spherical coordinates not set." << std::endl; return true; }