Subversion Repositories FlightCtrl

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1263 thjac 1
/* pitch.h
2
 *
3
 * copyright 2009 Thoams Jachmann
4
 */
5
 
6
#ifndef _PITCH_H
7
#define _PITCH_H
8
 
9
#define PARAM_PITCH_MODE_MK             0x00
10
#define PARAM_PITCH_MODE_MD             0x01
11
#define PARAM_PITCH_MODE_INVALID        0x02
12
 
13
#define pitch_initialStickValue()       pitchInitialStickValue
14
 
15
#define pitch_currentMode()             ( pitchMode )
16
#define pitch_currentModeString()       ( pitchModeStrings[ pitchMode ] )
17
 
18
extern void pitch_init( void );
19
extern int  pitch_value( void );
20
 
21
extern int               pitchInitialStickValue;
22
extern unsigned char     pitchMode;
23
extern char             *pitchModeStrings[];
24
 
25
#endif // PITCH_H