Skip to content

Commit

Permalink
fix typo whoopsy daisies
Browse files Browse the repository at this point in the history
  • Loading branch information
abhaybd committed Aug 13, 2023
1 parent b5d9c92 commit 2d49ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ardupilot/ArduPilotProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ bool ArduPilotProtocol::validateGPSRequest(const json& j) {

void ArduPilotProtocol::handleGPSRequest(const json& j) {
double lat = j["lat"];
double lon = j["lat"];
double lon = j["lon"];
{
std::lock_guard<std::mutex> lock(_lastGPSMutex);
_lastGPS = gpscoords_t{lat, lon};
Expand Down

0 comments on commit 2d49ddd

Please sign in to comment.