-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
bug report #4
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
When my gps device has no signal,I received something like $GNGGA,081235.319,,,,,0,00,99.99,,M,,M,,4E
,there are five commas behind UTC. The index of UTC is 2,so the index of Lat should be 3.
when program call funcion str = strtok(NULL, ","); it will skip directly five commas,and return "0" (Quality).
but variable index is 3. it will put "0" (Quality) on position of Lat.
to minimal change your codes. I'm tring reform strtok.
here is my code
The text was updated successfully, but these errors were encountered: