Rev 1063 | Rev 1120 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1063 | Rev 1111 | ||
---|---|---|---|
Line 151... | Line 151... | ||
151 | WDTCSR = 0; |
151 | WDTCSR = 0; |
Line 152... | Line 152... | ||
152 | 152 | ||
Line 153... | Line 153... | ||
153 | beeptime = 2000; |
153 | beeptime = 2000; |
154 | - | ||
- | 154 | ||
155 | StickGier = 0; PPM_in[K_GAS] = 0;StickRoll = 0; StickNick = 0; |
155 | StickGier = 0; PPM_in[K_GAS] = 0;StickRoll = 0; StickNick = 0; |
Line 156... | Line 156... | ||
156 | 156 | if(PlatinenVersion >= 20) GIER_GRAD_FAKTOR = 1160; else GIER_GRAD_FAKTOR = 1291; // unterschiedlich für ME und ENC |
|
157 | ROT_OFF; |
157 | ROT_OFF; |
158 | 158 | ||
Line 187... | Line 187... | ||
187 | for (unsigned char i=1;i<6;i++) |
187 | for (unsigned char i=1;i<6;i++) |
188 | { |
188 | { |
189 | if(i==2) DefaultKonstanten2(); // Kamera |
189 | if(i==2) DefaultKonstanten2(); // Kamera |
190 | if(i==3) DefaultKonstanten3(); // Beginner |
190 | if(i==3) DefaultKonstanten3(); // Beginner |
191 | if(i>3) DefaultKonstanten2(); // Kamera |
191 | if(i>3) DefaultKonstanten2(); // Kamera |
- | 192 | if(PlatinenVersion >= 20) |
|
- | 193 | { |
|
- | 194 | EE_Parameter.Driftkomp = 0; |
|
- | 195 | EE_Parameter.GyroAccFaktor = 27; |
|
- | 196 | EE_Parameter.WinkelUmschlagNick = 78; |
|
- | 197 | EE_Parameter.WinkelUmschlagRoll = 78; |
|
- | 198 | ||
- | 199 | } |
|
192 | WriteParameterSet(i, (unsigned char *) &EE_Parameter.Kanalbelegung[0], STRUCT_PARAM_LAENGE); |
200 | WriteParameterSet(i, (unsigned char *) &EE_Parameter.Kanalbelegung[0], STRUCT_PARAM_LAENGE); |
193 | } |
201 | } |
194 | SetActiveParamSetNumber(3); // default-Setting |
202 | SetActiveParamSetNumber(3); // default-Setting |
195 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_VALID], EE_DATENREVISION); |
203 | eeprom_write_byte(&EEPromArray[EEPROM_ADR_VALID], EE_DATENREVISION); |
196 | } |
204 | } |