Subversion Repositories FlightCtrl

Rev

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

Rev 2375 Rev 2377
Line 120... Line 120...
120
 
120
 
121
// --------------------------------------------------------------------------------------------------
121
// --------------------------------------------------------------------------------------------------
122
void JetiEX_Update(void)
122
void JetiEX_Update(void)
Line 123... Line -...
123
{
-
 
124
 
-
 
125
    #define GPS_NORTH           0
-
 
126
        #define GPS_SOUTH       2
-
 
127
    #define GPS_EAST            0
-
 
128
        #define GPS_WEST        2
-
 
129
        #define GPS_LONGITUDE   1
-
 
130
        #define GPS_LATITUDE    0
123
{
Line 131... Line 124...
131
       
124
 
132
        GetHottestBl();    
125
        GetHottestBl();    
133
 
126
 
Line 140... Line 133...
140
        JetiExData[7].Value  =  GPSInfo.Speed;
133
        JetiExData[7].Value  =  GPSInfo.Speed;
141
        JetiExData[8].Value  =  GPSInfo.HomeDistance / 10;
134
        JetiExData[8].Value  =  GPSInfo.HomeDistance / 10;
142
        JetiExData[9].Value  =  GPSInfo.HomeBearing;
135
        JetiExData[9].Value  =  GPSInfo.HomeBearing;
143
        JetiExData[10].Value  = MaxBlTemperture;
136
        JetiExData[10].Value  = MaxBlTemperture;
144
        JetiExData[11].Value  = EarthMagneticField;
137
        JetiExData[11].Value  = EarthMagneticField;
145
//      JetiExData[12].Value  = Vario;
138
//      JetiExData[12].Value  = Vario; // wird in BuildJeti_Vario() gemacht 
146
        JetiExData[13].Value  = NC_ErrorCode;
139
        JetiExData[13].Value  = NC_ErrorCode;
147
       
-
 
148
        JetiExData[14].Value =  53 * 0x10000 + 23467;
140
//JetiExData[14].Value =  53 * 0x10000 + 23467; // GPS-Latitude  (macht NC_Fills_HoTT_Telemety() )
149
        JetiExData[14].DecimalPointPos = GPS_LATITUDE + GPS_NORTH;
-
 
150
       
-
 
151
        JetiExData[15].Value =  7 * 0x10000 +  34178;
141
//JetiExData[15].Value =   7 * 0x10000 + 23467; // GPS-Longitude (macht NC_Fills_HoTT_Telemety() )
152
        JetiExData[15].DecimalPointPos = GPS_LONGITUDE  + GPS_WEST ;
-
 
153
       
-
 
154
       
-
 
Line 155... Line 142...
155
       
142
       
156
}
143
}