Rev 1616 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1616 | Rev 1645 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /*####################################################################################### |
1 | /*********************************************************************************/ |
2 | Stick control interface |
2 | /* Stick control interface */ |
3 | #######################################################################################*/ |
3 | /*********************************************************************************/ |
4 | /* |
4 | /* |
5 | OBSOLETED BY controlMixer.h. But this is how it looked - maybe somebody will find it simpler? |
5 | OBSOLETED BY controlMixer.h. But this is how it looked - maybe somebody will find it simpler? |
Line 6... | Line 6... | ||
6 | 6 | ||
7 | #ifndef _CONTROL_H |
7 | #ifndef _CONTROL_H |
Line 8... | Line 8... | ||
8 | #define _CONTROL_H |
8 | #define _CONTROL_H |
9 | 9 | ||
Line 10... | Line 10... | ||
10 | #include <inttypes.h> |
10 | #include <inttypes.h> |
11 | #define STICK_GAIN 4 |
11 | #define CONTROL_SCALING 4 |
12 | 12 | ||
13 | // defines for lookup staticParams.ChannelAssignment |
13 | // defines for lookup staticParams.ChannelAssignment |
14 | #define CH_PITCH 0 |
14 | #define CH_PITCH 0 |
15 | #define CH_ROLL 1 |
15 | #define CH_ROLL 1 |
16 | #define CH_THROTTLE 2 |
16 | #define CH_THROTTLE 2 |
Line 17... | Line 17... | ||
17 | #define CH_YAW 3 |
17 | #define CH_YAW 3 |
18 | #define CH_POTS 4 |
18 | #define CH_POTS 4 |