1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-18 16:15:21 +00:00

Fix defects detected by Coverity Scan

This commit is contained in:
Carles Fernandez
2019-02-14 23:44:38 +01:00
parent b5c59ee6f7
commit 890752601d
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ void beidou_b1i_code_gen_int(int32_t* _dest, int32_t _prn, uint32_t _chip_shift)
prn_idx = _prn - 1;
/* A simple error check */
if ((prn_idx < 0) || (prn_idx > 51))
if ((prn_idx < 0) || (prn_idx > 32))
{
return;
}