Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use get_num_float instead of get_num(_int) for the latlong's minute, … #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/src/gps_parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
#endif