Rev 1955 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1955 | Rev 1960 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | 13 | ||
14 | // Takes 380 - 400 usec. Way too slow. |
14 | // Takes 380 - 400 usec. Way too slow. |
15 | // With static MINPROJECTION: 220 usec. |
15 | // With static MINPROJECTION: 220 usec. |
16 | uint16_t AC_getThrottle(uint16_t throttle) { |
16 | uint16_t AC_getThrottle(uint16_t throttle) { |
17 | int32_t projection; |
17 | int32_t projection; |
18 | uint8_t effect = dynamicParams.UserParams[2]; // Userparam 3 |
18 | uint8_t effect = dynamicParams.attitudeControl; // Userparam 3 |
Line 19... | Line 19... | ||
19 | int16_t deltaThrottle, y; |
19 | int16_t deltaThrottle, y; |
20 | 20 |