Skip to content

Commit c6bc43e

Browse files
mikellerCopilot
andauthored
Update src/hw_ostc_parser.c
Co-authored-by: Copilot <[email protected]> Signed-off-by: Michael Keller <[email protected]>
1 parent 5f7686f commit c6bc43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hw_ostc_parser.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1216,9 +1216,9 @@ hw_ostc_parser_internal_foreach (hw_ostc_parser_t *parser, dc_sample_callback_t
12161216
}
12171217

12181218
coordinate_value_t lon;
1219-
lon.intval = (float)array_uint32_le(data + offset); // Longitude
1219+
lon.intval = array_uint32_le(data + offset); // Longitude
12201220
coordinate_value_t lat;
1221-
lat.intval = (float)array_uint32_le(data + offset + 4); // Latitude
1221+
lat.intval = array_uint32_le(data + offset + 4); // Latitude
12221222

12231223
INFO(abstract->context, "Received GPS coordinates %f / %f", lat.floatval, lon.floatval);
12241224

0 commit comments

Comments
 (0)