Skip to content

Commit

Permalink
Remove last mentions of float lat and lon
Browse files Browse the repository at this point in the history
  • Loading branch information
AngusJull committed Jun 7, 2024
1 parent 825d169 commit 41fdcf6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/collectors/m10spg_clctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ void *m10spg_collector(void *args) {
err = m10spg_send_command(&loc, UBX_NAV_POSLLH, &buf, sizeof(UBXNavPositionPayload));
if (err == EOK) {
msg.type = TAG_COORDS;
// Floating point math to conver to degrees
// msg.data.VEC2D.x = (((float)buf.pos.lat) / LAT_SCALE_TO_DEGREES);
// msg.data.VEC2D.y = (((float)buf.pos.lon) / LON_SCALE_TO_DEGREES);
msg.data.VEC2D_I32.x = buf.pos.lat;
msg.data.VEC2D_I32.y = buf.pos.lon;

Expand Down

0 comments on commit 41fdcf6

Please sign in to comment.