Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1232 → Rev 1233

/branches/thjac/V1_12/pitch.h
0,0 → 1,25
/* pitch.h
*
* copyright 2009 Thoams Jachmann
*/
#ifndef _PITCH_H
#define _PITCH_H
 
#define PARAM_PITCH_MODE_MK 0x00
#define PARAM_PITCH_MODE_MD 0x01
#define PARAM_PITCH_MODE_INVALID 0x02
 
#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