Skip to content

Commit edb8572

Browse files
mikellerCopilot
andcommitted
Update src/hw_ostc_parser.c
Co-authored-by: Copilot <[email protected]> Signed-off-by: Michael Keller <[email protected]>
1 parent 9b7ca03 commit edb8572

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
@@ -1226,9 +1226,9 @@ hw_ostc_parser_internal_foreach (hw_ostc_parser_t *parser, dc_sample_callback_t
12261226
}
12271227

12281228
coordinate_value_t lon;
1229-
lon.intval = (float)array_uint32_le(data + offset); // Longitude
1229+
lon.intval = array_uint32_le(data + offset); // Longitude
12301230
coordinate_value_t lat;
1231-
lat.intval = (float)array_uint32_le(data + offset + 4); // Latitude
1231+
lat.intval = array_uint32_le(data + offset + 4); // Latitude
12321232

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

0 commit comments

Comments
 (0)