43,7 → 43,6 |
#define MKOSD_ADDRESS 4 |
#define BL_ADDRESS 5 |
|
|
/* |
* FC Debug Struct |
* portions taken and adapted from |
79,7 → 78,6 |
#define NEWDATA 0x01 |
#define PROCESSED 0x02 |
|
|
/* |
* NaviCtrl OSD Structs |
* portions taken and adapted from |
165,11 → 163,10 |
#define DEFEKT_PPM_ERR 0x08 |
#define DEFEKT_MIXER_ERR 0x10 |
|
|
/* |
* MikroKopter config struct |
* portions taken and adapted from |
* http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V0.88e/eeprom.h |
* http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V0.90j/eeprom.h |
*/ |
typedef struct { |
unsigned char Revision; |
246,6 → 243,7 |
unsigned char WARN_J16_Bitmask; // for the J16 Output |
unsigned char WARN_J17_Bitmask; // for the J17 Output |
//---NaviCtrl--------------------------------------------- |
unsigned char NaviOut1Parameter; // for the J16 Output |
unsigned char NaviGpsModeControl; // Parameters for the Naviboard |
unsigned char NaviGpsGain; |
unsigned char NaviGpsP; |
277,12 → 275,12 |
unsigned char ServoFilterRoll; |
//------------------------------------------------ |
unsigned char BitConfig; // (war Loop-Cfg) Bitcodiert: 0x01=oben, 0x02=unten, 0x04=links, 0x08=rechts / wird getrennt behandelt |
unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll 0 oder 1 // WICHTIG!!! am Ende lassen |
unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen |
unsigned char ExtraConfig; // bitcodiert |
unsigned char GlobalConfig3; // bitcodiert |
char Name[12]; |
unsigned char crc; // must be the last byte! |
} __attribute__((packed)) paramset_t; |
} paramset_t; |
|
typedef struct { |
u8 SettingsIndex; |
289,8 → 287,6 |
paramset_t param; |
} __attribute__((packed)) paramset_serial; |
|
|
|
/* |
* MikroKopter 3D-Data struct |
* portions taken and adapted from |