Subversion Repositories FlightCtrl

Rev

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

Rev Author Line No. Line
1134 thjac 1
/* pitch.h
2
 *
3
 * copyright 2009 Thoams Jachmann
4
 */
5
 
6
#ifndef _PITCH_H
7
#define _PITCH_H
8
 
9
extern int (* pitch_value_ptr)( void );
10
 
11
// TODO Soll den Stick-Wert der Mittelstellung liefern
1139 thjac 12
#define pitch_stickoffset()             0
1134 thjac 13
 
1139 thjac 14
#define pitch_current_mode()            ( pitchMode )
15
#define pitch_current_mode_string()     ( pitchModeStrings[ pitchMode ] );
1134 thjac 16
 
1139 thjac 17
extern void pitch_init( void );
18
extern int  pitch_value( void );
1134 thjac 19
 
1139 thjac 20
extern unsigned char     pitchMode;
21
extern char             *pitchModeStrings[];
22
 
1134 thjac 23
#endif // PITCH_H