gnss
Diff: gnss.cpp
- Revision:
- 30:de9fcdbc4d06
- Parent:
- 29:54fd002f2376
- Child:
- 33:75163fa7e453
--- a/gnss.cpp Mon Dec 17 12:11:07 2018 +0500 +++ b/gnss.cpp Wed Apr 03 11:53:35 2019 +0500 @@ -446,7 +446,8 @@ // Go to Fix type index = UBX_PAYLOAD_INDEX + 20; - return_decoded_msg.fixType = buf[index]; + return_decoded_msg.fixType = buf[index++]; + return_decoded_msg.flag1 = buf[index]; // Go to lon index = UBX_PAYLOAD_INDEX + 24;