Skip to content

Commit d6067cd

Browse files
authored
Correct name of sensor in warning message (#2457)
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
1 parent 5641ef2 commit d6067cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/magnetometer/Magnetometer.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ void MagnetometerPrivate::Update(
430430
auto latLonEle = sphericalCoordinates(_entity, _ecm);
431431
if (!latLonEle)
432432
{
433-
gzwarn << "Failed to update NavSat sensor enity [" << _entity
433+
gzwarn << "Failed to update Magnetometer sensor enity [" << _entity
434434
<< "]. Spherical coordinates not set." << std::endl;
435435
return true;
436436
}

0 commit comments

Comments
 (0)