Subversion Repositories FlightCtrl

Rev

Rev 1141 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1141 Rev 1157
1
/* pitch.h
1
/* pitch.h
2
 *
2
 *
3
 * copyright 2009 Thoams Jachmann
3
 * copyright 2009 Thoams Jachmann
4
 */
4
 */
5
 
5
 
6
#ifndef _PITCH_H
6
#ifndef _PITCH_H
7
#define _PITCH_H
7
#define _PITCH_H
8
 
8
 
9
extern int (* pitch_value_ptr)( void );
9
extern int (* pitchValueFP)( void );
10
 
10
 
11
#define pitch_initialStickValue()       pitchInitialStickValue
11
#define pitch_initialStickValue()       pitchInitialStickValue
12
 
12
 
13
#define pitch_currentMode()             ( pitchMode )
13
#define pitch_currentMode()             ( pitchMode )
14
#define pitch_currentModeString()       ( pitchModeStrings[ pitchMode ] )
14
#define pitch_currentModeString()       ( pitchModeStrings[ pitchMode ] )
15
 
15
 
16
extern void pitch_init( void );
16
extern void pitch_init( void );
17
extern int  pitch_value( void );
17
//extern int  pitch_value( void );
18
 
18
 
19
extern int               pitchInitialStickValue;
19
extern int               pitchInitialStickValue;
20
extern unsigned char     pitchMode;
20
extern unsigned char     pitchMode;
21
extern char             *pitchModeStrings[];
21
extern char             *pitchModeStrings[];
22
 
22
 
23
#endif // PITCH_H
23
#endif // PITCH_H
24
 
24