Rev 1134 | Rev 1141 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1134 | Rev 1139 | ||
---|---|---|---|
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 (* pitch_value_ptr)( void ); |
10 | 10 | ||
11 | // TODO Soll den Stick-Wert der Mittelstellung liefern |
11 | // TODO Soll den Stick-Wert der Mittelstellung liefern |
12 | #define pitch_stickoffset() 0 |
12 | #define pitch_stickoffset() 0 |
13 | 13 | ||
- | 14 | #define pitch_current_mode() ( pitchMode ) |
|
- | 15 | #define pitch_current_mode_string() ( pitchModeStrings[ pitchMode ] ); |
|
14 | extern int pitch_value( void ); |
16 | |
- | 17 | extern void pitch_init( void ); |
|
- | 18 | extern int pitch_value( void ); |
|
- | 19 | ||
15 | 20 | extern unsigned char pitchMode; |
|
16 | // #define pitch_value() ( pitch_value_ptr != 0 ? pitch_value_ptr() : 0 ) |
21 | extern char *pitchModeStrings[]; |
17 | 22 | ||
18 | #endif // PITCH_H |
23 | #endif // PITCH_H |
19 | 24 |