Skip to content

Commit

Permalink
snmp update
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-du-car committed Nov 9, 2023
1 parent a04a0ee commit bb97d7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,8 @@ namespace RSUHealthMonitor
if (boost::iequals("rsuGpsOutputString", config.field))
{
auto gps = ParseGPS(response_str);
rsuStatuJson["rsuGpsOutputStringLatitude"] = gps[0];
rsuStatuJson["rsuGpsOutputStringLongitude"] = gps[1];
rsuStatuJson["rsuGpsOutputStringLatitude"] = gps.begin()->first;
rsuStatuJson["rsuGpsOutputStringLongitude"] = gps.begin()->second;
}
else
{
Expand Down

0 comments on commit bb97d7a

Please sign in to comment.