Subversion Repositories FlightCtrl

Rev

Rev 1139 | 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 );

#define pitch_initialStickValue()       pitchInitialStickValue

#define pitch_currentMode()             ( pitchMode )
#define pitch_currentModeString()       ( pitchModeStrings[ pitchMode ] )

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

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

#endif // PITCH_H