1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1404 fix compilation with PIOS_GPS_MINIMAL, fix some copy/pastem madness

This commit is contained in:
Alessio Morale 2014-08-04 18:17:01 +02:00
parent 240eb8e573
commit ea63def1c8

View File

@ -397,17 +397,20 @@ uint32_t parse_ubx_message(struct UBXPacket *ubx, GPSPositionSensorData *GpsPosi
case UBX_ID_DOP:
parse_ubx_nav_dop(&ubx->payload.nav_dop, GpsPosition);
break;
}
case UBX_ID_PVT:
parse_ubx_nav_pvt(&ubx->payload.nav_pvt, GpsPosition);
lastPvtTime = PIOS_DELAY_GetuS();
break;
#if !defined(PIOS_GPS_MINIMAL)
case UBX_ID_SVINFO:
parse_ubx_nav_svinfo(&ubx->payload.nav_svinfo);
break;
#endif
default:
break;
}
}
break;
}
if (msgtracker.msg_received == ALL_RECEIVED) {