Subversion Repositories FlightCtrl

Rev

Rev 1134 | Rev 1141 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

/* pitch.h
 *
 * copyright 2009 Thoams Jachmann
 */

 
#ifndef _PITCH_H
#define _PITCH_H

extern int (* pitch_value_ptr)( void );

// TODO Soll den Stick-Wert der Mittelstellung liefern
#define pitch_stickoffset()             0

#define pitch_current_mode()            ( pitchMode )
#define pitch_current_mode_string()     ( pitchModeStrings[ pitchMode ] );

extern void pitch_init( void );
extern int  pitch_value( void );

extern unsigned char     pitchMode;
extern char             *pitchModeStrings[];

#endif // PITCH_H