Skip to content

Commit

Permalink
Fix merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sharvil-patankar committed Sep 19, 2019
1 parent f9cd516 commit 9fae071
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions novatel_gps_driver/src/novatel_gps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1477,13 +1477,13 @@ namespace novatel_gps_driver
{
std::stringstream command;
command << std::setprecision(3);
if (option->first.find("heading2") != std::string::npos)
if (option.first.find("heading2") != std::string::npos)
{
command << "log " << option->first << " onnew " << "\r\n";
command << "log " << option.first << " onnew " << "\r\n";
}
else
{
command << "log " << option->first << " ontime " << option.second << "\r\n";
command << "log " << option.first << " ontime " << option.second << "\r\n";
}
configured = configured && Write(command.str());
}
Expand Down

0 comments on commit 9fae071

Please sign in to comment.