Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2374 → Rev 2375

/trunk/jeti_ex.c
84,8 → 84,8
{ "Magn.field" , "% ", 1, 0 , 0 }, // ID 11
{ "Vario " , " ", 1, 0 , 0 }, // ID 12
{ "ErrorCode " , " ", 1, 0 , 0 }, // ID 13
{ "frei " , " ", 1, 0 , 3 }, // ID 14
{ "frei " , " ", 1, 0 , 3 }, // ID 15
{ "Latitude " , " ", 9, 0 , 0 }, // ID 14 special data type for coordinates Import: fixed position in list ID 14 - DO NOT MOVE !!!
{ "Longitude " , " ", 9, 0 , 0 }, // ID 15 special data type for coordinates Import: fixed position in list ID 15 - DO NOT MOVE !!!
};
 
 
122,7 → 122,14
void JetiEX_Update(void)
{
 
GetHottestBl();
#define GPS_NORTH 0
#define GPS_SOUTH 2
#define GPS_EAST 0
#define GPS_WEST 2
#define GPS_LONGITUDE 1
#define GPS_LATITUDE 0
GetHottestBl();
JetiExData[1].Value = UBat;
JetiExData[2].Value = Capacity.ActualCurrent;
137,5 → 144,14
JetiExData[11].Value = EarthMagneticField;
// JetiExData[12].Value = Vario;
JetiExData[13].Value = NC_ErrorCode;
JetiExData[14].Value = 53 * 0x10000 + 23467;
JetiExData[14].DecimalPointPos = GPS_LATITUDE + GPS_NORTH;
JetiExData[15].Value = 7 * 0x10000 + 34178;
JetiExData[15].DecimalPointPos = GPS_LONGITUDE + GPS_WEST ;
}
#endif