Skip to content

Commit

Permalink
Correct name of sensor in warning message
Browse files Browse the repository at this point in the history
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
  • Loading branch information
srmainwaring committed Jun 30, 2024
1 parent 6af7445 commit 756e012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/magnetometer/Magnetometer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 756e012

Please sign in to comment.