for (n=0; n < 990; n++){
tempArray[n] = Serial2_WaitForByte(&inbyte); //test for end bytes
What are you reading from that sends 990 byte messages? I'm not aware of ANY GPS sentences that are that long.
for (n=0; n < 990; n++){
tempArray[n] = Serial2_WaitForByte(&inbyte); //test for end bytes
What are you reading from that sends 990 byte messages? I'm not aware of ANY GPS sentences that are that long.