Rev 1141 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1141 | Rev 1157 | ||
---|---|---|---|
Line 34... | Line 34... | ||
34 | static int delayCounter = 0; |
34 | static int delayCounter = 0; |
35 | static int temp; // Temporäre Werte; wird mehrfach verwendet |
35 | static int temp; // Temporäre Werte; wird mehrfach verwendet |
Line 36... | Line 36... | ||
36 | 36 | ||
Line 37... | Line -... | ||
37 | unsigned char pitchHover = 0; // Standgaswert |
- | |
38 | - | ||
39 | - | ||
40 | void pitch_md_init( void ) { |
- | |
41 | pitchHover = eeprom_read_byte( &EEPromArray[ EEPROM_ADR_PITCH_MD_HOVER ] ); |
- | |
42 | } |
- | |
43 | 37 | unsigned char pitchHover = 0; // Standgaswert |
|
44 | 38 | ||
45 | /* |
39 | /* |
46 | * Berechnet den aktuellen Pitch-Wert für die Regelung |
40 | * Berechnet den aktuellen Pitch-Wert für die Regelung |
47 | * |
41 | * |
Line 305... | Line 299... | ||
305 | DebugOut.Analog[28] = actualPitchCount; |
299 | DebugOut.Analog[28] = actualPitchCount; |
306 | DebugOut.Analog[29] = pitchOffset; |
300 | DebugOut.Analog[29] = pitchOffset; |
Line 307... | Line 301... | ||
307 | 301 | ||
308 | return actualPitchCount; |
302 | return actualPitchCount; |
- | 303 | } |
|
- | 304 | ||
- | 305 | ||
- | 306 | void pitch_md_init( void ) { |
|
- | 307 | ||
- | 308 | printf("\r\npitch_mk_init()"); |
|
- | 309 | ||
- | 310 | pitchHover = eeprom_read_byte( &EEPromArray[ EEPROM_ADR_PITCH_MD_HOVER ] ); |
|
- | 311 | ||
- | 312 | pitchValueFP = pitch_md_value; |
|
- | 313 | } |