Skip to content

Commit

Permalink
Update gps_misc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
iliasam authored Mar 9, 2024
1 parent ad9f121 commit ea6aa06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Firmware/project_main/GPS/gps_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,8 @@ void gps_channell_prepare(gps_ch_t* channel)

//Code is taken from /~https://github.com/taroz/GNSS-SDRLIB
/* C/A code (IS-GPS-200) -----------------------------------------------------*/
// dest - destinatioon array, 1023 bytes, will be filled with 0 or 1
// prn - satellite ID number (PRN number), 1-32 for usual GPS sats.
void gps_generate_prn(uint8_t* dest, int prn)
{
const static int16_t delay[] = { /* G2 delay (chips) */
Expand Down

0 comments on commit ea6aa06

Please sign in to comment.