Skip to content

Commit

Permalink
Correct name of sensor in warning message (#2457)
Browse files Browse the repository at this point in the history
Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring authored Jul 1, 2024
1 parent 5641ef2 commit d6067cd
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 d6067cd

Please sign in to comment.