1,18 → 1,15 |
/* pitch.h |
* |
* copyright 2009 Thoams Jachmann |
*/ |
|
#ifndef _PITCH_H |
#define _PITCH_H |
|
extern int (* pitch_value_ptr)( void ); |
extern int pressureOffset; |
extern char pitchNeutralStartup; |
|
// TODO Soll den Stick-Wert der Mittelstellung liefern |
#define pitch_stickoffset() 0 |
#define pitchNeutral() ( pitchNeutralStartup | PARAM_PITCH_NEUTRAL ) |
|
extern int pitch_value( void ); |
int pitch( void ); |
int altitudeController( void ); |
|
// #define pitch_value() ( pitch_value_ptr != 0 ? pitch_value_ptr() : 0 ) |
|
#endif // PITCH_H |
#endif |