Skip to content

Commit

Permalink
Merge pull request tomojitakasu#497 from ourairquality/sbas-comment-typo
Browse files Browse the repository at this point in the history
sbas: fix comment typo
  • Loading branch information
rtklibexplorer authored Oct 20, 2024
2 parents 5b34047 + f86f26e commit 01198b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sbas.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ static int decode_sbstype6(const sbsmsg_t *msg, sbssat_t *sbssat)
for (i=0;i<4;i++) {
iodf[i]=getbitu(msg->msg,14+i*2,2);
}
/* As most 51 entries in the message */
/* At most 51 entries in the message */
for (i=0;i<sbssat->nsat&&i<=51;i++) {
if (sbssat->sat[i].fcorr.iodf!=iodf[i/13]) continue;
udre=getbitu(msg->msg,22+i*4,4);
Expand All @@ -216,7 +216,7 @@ static int decode_sbstype7(const sbsmsg_t *msg, sbssat_t *sbssat)

sbssat->tlat=getbitu(msg->msg,14,4);

/* As most 51 entries in the message */
/* At most 51 entries in the message */
for (i=0;i<sbssat->nsat&&i<=51;i++) {
sbssat->sat[i].fcorr.ai=getbitu(msg->msg,22+i*4,4);
}
Expand Down

0 comments on commit 01198b5

Please sign in to comment.