Subversion Repositories FlightCtrl

Rev

Rev 2263 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2182 ingob 1
#ifndef _JETI_EX_H
2
#define _JETI_EX_H
3
 
4
 
5
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
6
 
7
 
8
// define here how many Jeti EX parameters should be transmitted (max. = 15)
9
//
10
#define JETI_EX_PARAMETER_COUNT         15
11
//
12
// -------------------------------------------------------------------------
13
 
14
 
15
 
16
 
17
 
18
typedef struct
19
{
20
   char Label[10];
21
   char Unit[3];
22
   unsigned char DataType;
23
   long Value;
24
   unsigned char DecimalPointPos;
25
}  JetiExPacket_t;
26
 
27
 
28
extern JetiExPacket_t JetiExData[];
29
extern void JetiEX_Update(void);
30
 
31
 
32
 
33
#if (JETI_EX_PARAMETER_COUNT > 15) 
34
        #error "ERROR: Too many Jeti EX parameters (max. allowed 15)"
35
#endif
36
 
37
 
38
#endif
39
#endif //_JETI_EX_H