Subversion Repositories Projects

Rev

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

Rev 1468 Rev 1591
Line 45... Line 45...
45
 
45
 
46
 
46
 
47
/*
47
/*
48
 * FC Debug Struct
48
 * FC Debug Struct
49
 * portions taken and adapted from
49
 * portions taken and adapted from
50
 * http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V0.80d/uart.h
50
 * http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V0.88e/uart.h
51
 */
51
 */
52
typedef struct  {
52
typedef struct  {
53
        unsigned char Status[2];
53
        unsigned char Status[2];
Line 270... Line 270...
270
                unsigned char MotorSafetySwitch;
270
                unsigned char MotorSafetySwitch;
271
                unsigned char MotorSmooth;
271
                unsigned char MotorSmooth;
272
                unsigned char ComingHomeAltitude;
272
                unsigned char ComingHomeAltitude;
273
                unsigned char FailSafeTime;
273
                unsigned char FailSafeTime;
274
                unsigned char MaxAltitude;
274
                unsigned char MaxAltitude;
-
 
275
                unsigned char FailsafeChannel;         // if the value of this channel is > 100, the MK reports "RC-Lost"
-
 
276
                unsigned char ServoFilterNick;  
-
 
277
                unsigned char ServoFilterRoll;                 
275
        //------------------------------------------------
278
        //------------------------------------------------
276
        unsigned char BitConfig;          // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
279
        unsigned char BitConfig;          // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt
277
        unsigned char ServoCompInvert;    // //  0x01 = Nick, 0x02 = Roll   0 oder 1  // WICHTIG!!! am Ende lassen
280
        unsigned char ServoCompInvert;    // //  0x01 = Nick, 0x02 = Roll   0 oder 1  // WICHTIG!!! am Ende lassen
278
        unsigned char ExtraConfig;        // bitcodiert
281
        unsigned char ExtraConfig;        // bitcodiert
-
 
282
                unsigned char GlobalConfig3;      // bitcodiert         
279
        char Name[12];
283
        char Name[12];
280
        unsigned char crc;                                // must be the last byte!
284
        unsigned char crc;                                // must be the last byte!
281
} __attribute__((packed)) paramset_t;
285
} __attribute__((packed)) paramset_t;
Line 282... Line 286...
282
 
286