Rev 791 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 791 | Rev 792 | ||
---|---|---|---|
Line 137... | Line 137... | ||
137 | case UBXSTATE_CLASS: // check message identifier |
137 | case UBXSTATE_CLASS: // check message identifier |
138 | switch(c) |
138 | switch(c) |
139 | { |
139 | { |
140 | case UBX_ID_POSLLH: // geodetic position |
140 | case UBX_ID_POSLLH: // geodetic position |
141 | ubxP = (int8_t *)&GpsPosLlh; // data start pointer |
141 | ubxP = (int8_t *)&GpsPosLlh; // data start pointer |
142 | ubxEp = ((int8_t *)&GpsPosLlh) + sizeof(GPS_POSLLH_t); // data end pointer |
142 | ubxEp = (int8_t *)(&GpsPosLlh + 1); // data end pointer |
143 | ubxSp = (int8_t *)&GpsPosLlh.Status; // status pointer |
143 | ubxSp = (int8_t *)&GpsPosLlh.Status; // status pointer |
144 | break; |
144 | break; |
Line 145... | Line 145... | ||
145 | 145 | ||
146 | case UBX_ID_SOL: // navigation solution |
146 | case UBX_ID_SOL: // navigation solution |
147 | ubxP = (int8_t *)&GpsSol; // data start pointer |
147 | ubxP = (int8_t *)&GpsSol; // data start pointer |
148 | ubxEp = ((int8_t *)&GpsSol) + sizeof(GPS_SOL_t); // data end pointer |
148 | ubxEp = (int8_t *)(&GpsSol + 1); // data end pointer |
149 | ubxSp = (int8_t *)&GpsSol.Status; // status pointer |
149 | ubxSp = (int8_t *)&GpsSol.Status; // status pointer |
Line 150... | Line 150... | ||
150 | break; |
150 | break; |
151 | 151 | ||
152 | case UBX_ID_VELNED: // velocity vector in tangent plane |
152 | case UBX_ID_VELNED: // velocity vector in tangent plane |
153 | ubxP = (int8_t *)&GpsVelNed; // data start pointer |
153 | ubxP = (int8_t *)&GpsVelNed; // data start pointer |
154 | ubxEp = ((int8_t *)&GpsVelNed) + sizeof(GPS_VELNED_t); // data end pointer |
154 | ubxEp = (int8_t *)(&GpsVelNed + 1); // data end pointer |
Line 155... | Line 155... | ||
155 | ubxSp = (int8_t *)&GpsVelNed.Status; // status pointer |
155 | ubxSp = (int8_t *)&GpsVelNed.Status; // status pointer |
156 | break; |
156 | break; |