Subversion Repositories FlightCtrl

Rev

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

Rev 2373 Rev 2375
Line 82... Line 82...
82
        {       "Home-Dir  " ,   "°  ",                 1,                      0       ,               0       },    // ID 9
82
        {       "Home-Dir  " ,   "°  ",                 1,                      0       ,               0       },    // ID 9
83
        {       "max.Temp. " ,   "°C ",                 1,                      0       ,               0       },    // ID 10
83
        {       "max.Temp. " ,   "°C ",                 1,                      0       ,               0       },    // ID 10
84
        {       "Magn.field" ,   "%  ",                 1,                      0       ,               0       },    // ID 11
84
        {       "Magn.field" ,   "%  ",                 1,                      0       ,               0       },    // ID 11
85
        {       "Vario     " ,   "   ",                 1,                      0       ,               0       },    // ID 12
85
        {       "Vario     " ,   "   ",                 1,                      0       ,               0       },    // ID 12
86
        {       "ErrorCode " ,   "   ",                 1,                      0       ,               0       },    // ID 13
86
        {       "ErrorCode " ,   "   ",                 1,                      0       ,               0       },    // ID 13
87
        {       "frei      " ,   "   ",                 1,                      0       ,               3       },    // ID 14 
87
        {       "Latitude  " ,   "   ",                 9,                      0       ,               0       },    // ID 14  special data type for coordinates   Import: fixed position in list ID 14 - DO NOT MOVE !!!
88
        {       "frei      " ,   "   ",                 1,                      0       ,               3       },    // ID 15 
88
        {       "Longitude " ,   "   ",                 9,                      0       ,               0       },    // ID 15  special data type for coordinates   Import: fixed position in list ID 15 - DO NOT MOVE !!!
89
};
89
};
Line 90... Line 90...
90
 
90
 
91
 
91
 
Line 120... Line 120...
120
 
120
 
121
// --------------------------------------------------------------------------------------------------
121
// --------------------------------------------------------------------------------------------------
122
void JetiEX_Update(void)
122
void JetiEX_Update(void)
Line -... Line 123...
-
 
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
123
{
130
        #define GPS_LATITUDE    0
Line 124... Line 131...
124
 
131
       
125
    GetHottestBl();    
132
        GetHottestBl();    
126
 
133
 
127
        JetiExData[1].Value  =  UBat;
134
        JetiExData[1].Value  =  UBat;
Line 135... Line 142...
135
        JetiExData[9].Value  =  GPSInfo.HomeBearing;
142
        JetiExData[9].Value  =  GPSInfo.HomeBearing;
136
        JetiExData[10].Value  = MaxBlTemperture;
143
        JetiExData[10].Value  = MaxBlTemperture;
137
        JetiExData[11].Value  = EarthMagneticField;
144
        JetiExData[11].Value  = EarthMagneticField;
138
//      JetiExData[12].Value  = Vario;
145
//      JetiExData[12].Value  = Vario;
139
        JetiExData[13].Value  = NC_ErrorCode;
146
        JetiExData[13].Value  = NC_ErrorCode;
-
 
147
       
-
 
148
        JetiExData[14].Value =  53 * 0x10000 + 23467;
-
 
149
        JetiExData[14].DecimalPointPos = GPS_LATITUDE + GPS_NORTH;
-
 
150
       
-
 
151
        JetiExData[15].Value =  7 * 0x10000 +  34178;
-
 
152
        JetiExData[15].DecimalPointPos = GPS_LONGITUDE  + GPS_WEST ;
-
 
153
       
-
 
154
       
-
 
155
       
140
}
156
}
141
#endif
157
#endif