Skip to content

Commit

Permalink
Update parse.c update talkerId[1] GSV
Browse files Browse the repository at this point in the history
  • Loading branch information
bettellam authored Oct 19, 2024
1 parent 63768d5 commit 5ee3e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion external/nmea/parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ int nmea_parse_GPGSV( const char *buff, int buff_sz, nmeaGPGSV *pack )
return 0;
}

if ( pack->pack_type != 'P' && pack->pack_type != 'N' && pack->pack_type != 'L' && pack->pack_type != 'A' && pack->pack_type != 'B' && pack->pack_type != 'Q' )
if ( pack->talkerId[1] != 'P' && pack->talkerId[1] != 'N' && pack->talkerId[1] != 'L' && pack->talkerId[1] != 'A' && pack->talkerId[1] != 'B' && pack->talkerId[1] != 'Q' )
{
nmea_error( "GSV parse error!" );
return 0;
Expand Down

0 comments on commit 5ee3e41

Please sign in to comment.