diff --git a/library/src/gps_parser.c b/library/src/gps_parser.c index 2c4bf06..a79bae3 100644 --- a/library/src/gps_parser.c +++ b/library/src/gps_parser.c @@ -1247,7 +1247,7 @@ static void get_location( char *str, location_t *location, int type ) location->degrees = get_num( tmp ); strcpy( tmp, p_tmp ); - location->minutes = get_num( tmp ); + location->minutes = get_num_float( tmp ); } return; @@ -1741,4 +1741,4 @@ vehicle_status_t gps_ths_status() #ifdef ZDA uint8_t gps_zda_local_hour( void ); uint8_t gps_zda_local_min( void ); -#endif \ No newline at end of file +#endif