diff options
Diffstat (limited to 'driver_geostar.c')
-rw-r--r-- | driver_geostar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_geostar.c b/driver_geostar.c index 0d56b233..9b771409 100644 --- a/driver_geostar.c +++ b/driver_geostar.c @@ -29,7 +29,7 @@ static int decode_channel_id (uint32_t ch_id) { int num = 0; num = (int)(ch_id & 0x1F); /* SV ID */ - if((ch_id & (1<<30)) == 0) num += 32; /* GLONASS SV */ + if((ch_id & (1<<30)) == 0) num += 64; /* GLONASS SV */ else if (num == 0 ) num = 32; /* GPS SV */ return num; } |