Subversion Repositories FlightCtrl

Rev

Blame | Last modification | View Log | RSS feed

/* 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