Subversion Repositories FlightCtrl

Rev

Rev 716 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 716 Rev 740
Line 99... Line 99...
99
 static unsigned int crc;
99
 static unsigned int crc;
100
 static unsigned char crc1,crc2,buf_ptr;
100
 static unsigned char crc1,crc2,buf_ptr;
101
 static unsigned char UartState = 0;
101
 static unsigned char UartState = 0;
102
 unsigned char SioTmp;
102
 unsigned char SioTmp;
Line 103... Line 103...
103
 
103
 
-
 
104
 SioTmp = UDR;
-
 
105
 
-
 
106
 if(EE_Parameter.GlobalConfig & CFG_GPS_AKTIV) ubx_parser(SioTmp);      // GPS UBX-Protokoll Parser
104
 SioTmp = UDR;
107
 
105
 if(buf_ptr >= MAX_EMPFANGS_BUFF)    UartState = 0;
108
 if(buf_ptr >= MAX_EMPFANGS_BUFF)    UartState = 0;
106
if(buf_ptr == 0)
109
if(buf_ptr == 0)
107
 {
110
 {
108
 if(SioTmp == '#' && !NeuerDatensatzEmpfangen) buf_ptr = 1; // Startzeichen und Daten schon verarbeitet
111
 if(SioTmp == '#' && !NeuerDatensatzEmpfangen) buf_ptr = 1; // Startzeichen und Daten schon verarbeitet