Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sitinut Waisara committed Mar 26, 2020
2 parents 4f802ce + 5949a29 commit 0d8a9cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Node main module/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,8 @@ void fetchData()
nodeLong.trim();
jsonDoc["uuid"] = nodeUUID;
jsonDoc["name"] = nodeName;
jsonDoc["lat"] = nodeLat;
jsonDoc["long"] = nodeLong;
jsonDoc["lat"] = nodeLat.toDouble();
jsonDoc["long"] = nodeLong.toDouble();
JsonObject dataObj = jsonDoc.createNestedObject("data");

// obtain information from sensors
Expand Down

0 comments on commit 0d8a9cf

Please sign in to comment.