/branches/dongfang_FC_rewrite/ubx.c |
---|
74,8 → 74,8 |
UBX_VELNED_t ubxVelNed = { 0, 0, 0, 0, 0, 0, 0, 0, 0, INVALID }; |
GPS_INFO_t GPSInfo = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, INVALID }; |
volatile uint8_t GPSTimeout = 0; |
volatile uint16_t GPSDatasetCounter = 0; |
volatile uint8_t GPSTimeout; |
volatile uint16_t GPSDatasetCounter; |
void updateGPSInfo(void) { |
if ((ubxSol.status == NEWDATA) && (ubxPosLlh.status == NEWDATA) && (ubxVelNed.status == NEWDATA)) { |