Rev 2043 | Rev 2099 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2043 | Rev 2075 | ||
---|---|---|---|
Line 166... | Line 166... | ||
166 | #define DEFEKT_MIXER_ERR 0x10 |
166 | #define DEFEKT_MIXER_ERR 0x10 |
Line 167... | Line 167... | ||
167 | 167 | ||
168 | /* |
168 | /* |
169 | * MikroKopter config struct |
169 | * MikroKopter config struct |
170 | * portions taken and adapted from |
170 | * portions taken and adapted from |
171 | * http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V2.06a/eeprom.h |
171 | * http://svn.mikrokopter.de/filedetails.php?repname=FlightCtrl&path=/tags/V2.08a/eeprom.h |
Line 172... | Line 172... | ||
172 | */ |
172 | */ |
Line 173... | Line 173... | ||
173 | 173 | ||
174 | #define EEPARAM_REVISION 102 // is count up, if paramater stucture has changed (compatibility) |
174 | #define EEPARAM_REVISION 103 // is count up, if paramater stucture has changed (compatibility) |
175 | 175 | ||
Line 184... | Line 184... | ||
184 | unsigned char HoeheChannel; // Wert : 0-32 |
184 | unsigned char HoeheChannel; // Wert : 0-32 |
185 | unsigned char Hoehe_P; // Wert : 0-32 |
185 | unsigned char Hoehe_P; // Wert : 0-32 |
186 | unsigned char Hoehe_Verstaerkung; // Wert : 0-50 |
186 | unsigned char Hoehe_Verstaerkung; // Wert : 0-50 |
187 | unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250 |
187 | unsigned char Hoehe_ACC_Wirkung; // Wert : 0-250 |
188 | unsigned char Hoehe_HoverBand; // Wert : 0-250 |
188 | unsigned char Hoehe_HoverBand; // Wert : 0-250 |
189 | unsigned char Hoehe_GPS_Z; // Wert : 0-250 |
189 | unsigned char Hoehe_TiltCompensation; // Wert : 0-250 |
190 | unsigned char Hoehe_StickNeutralPoint;// Wert : 0-250 |
190 | unsigned char Hoehe_StickNeutralPoint;// Wert : 0-250 |
191 | unsigned char Stick_P; // Wert : 1-6 |
191 | unsigned char Stick_P; // Wert : 1-6 |
192 | unsigned char Stick_D; // Wert : 0-64 |
192 | unsigned char Stick_D; // Wert : 0-64 |
193 | unsigned char StickGier_P; // Wert : 1-20 |
193 | unsigned char StickGier_P; // Wert : 1-20 |
194 | unsigned char Gas_Min; // Wert : 0-32 |
194 | unsigned char Gas_Min; // Wert : 0-32 |
Line 297... | Line 297... | ||
297 | unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen |
297 | unsigned char ServoCompInvert; // // 0x01 = Nick, 0x02 = Roll, 0x04 = relative moving // WICHTIG!!! am Ende lassen |
298 | unsigned char ExtraConfig; // bitcodiert |
298 | unsigned char ExtraConfig; // bitcodiert |
299 | unsigned char GlobalConfig3; // bitcodiert |
299 | unsigned char GlobalConfig3; // bitcodiert |
300 | char Name[12]; |
300 | char Name[12]; |
301 | unsigned char crc; // must be the last byte! |
301 | unsigned char crc; // must be the last byte! |
302 | } paramset_t; // 127 bytes |
302 | } paramset_t; // 134 bytes (V1.06) |
- | 303 | ||
Line 303... | Line 304... | ||
303 | 304 | ||
304 | typedef struct { |
305 | typedef struct { |
305 | u8 SettingsIndex; |
306 | u8 SettingsIndex; |
306 | paramset_t param; |
307 | paramset_t param; |