/branches/V0.69k CRK HexaLotte/ubx.c |
---|
184,7 → 184,11 |
ckb += cka; |
// if the old data are not processed so far then break parsing now |
// to avoid writing new data in ISR during reading by another function |
if ( *ubxSp == VALID ) ubxstate = UBXSTATE_IDLE; |
if ( *ubxSp == VALID ) |
{ |
UpdateGPSInfo(); //update GPS info respectively |
ubxstate = UBXSTATE_IDLE; |
} |
else // data invalid or allready processd |
{ |
*ubxSp = INVALID; |