mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-1404 Fix NMEA data parsing for GSV
This commit is contained in:
parent
a18009e875
commit
2932045e3d
@ -687,8 +687,8 @@ static bool nmeaProcessGPGSV(__attribute__((unused)) GPSPositionSensorData *GpsD
|
||||
|
||||
// Get sat info
|
||||
gsv_partial.PRN[sat_index] = atoi(param[parIdx++]);
|
||||
gsv_partial.Elevation[sat_index] = NMEA_real_to_float(param[parIdx++]);
|
||||
gsv_partial.Azimuth[sat_index] = NMEA_real_to_float(param[parIdx++]);
|
||||
gsv_partial.Elevation[sat_index] = atoi(param[parIdx++]);
|
||||
gsv_partial.Azimuth[sat_index] = atoi(param[parIdx++]);
|
||||
gsv_partial.SNR[sat_index] = atoi(param[parIdx++]);
|
||||
#ifdef NMEA_DEBUG_GSV
|
||||
DEBUG_MSG(" %d", gsv_partial.PRN[sat_index]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user