Rev 2109 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2109 | Rev 2125 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | * TODO: Ultimately, the analog module could do this (instead of dumping |
78 | * TODO: Ultimately, the analog module could do this (instead of dumping |
79 | * the values into variables). |
79 | * the values into variables). |
80 | * The rate variable end up in a range of about [-1024, 1023]. |
80 | * The rate variable end up in a range of about [-1024, 1023]. |
81 | *************************************************************************/ |
81 | *************************************************************************/ |
82 | void getAnalogData(void) { |
82 | void getAnalogData(void) { |
83 | uint8_t axis; |
- | |
84 | analog_update(); |
83 | analog_update(); |
85 | for (axis = PITCH; axis <= YAW; axis++) { |
- | |
86 | } |
- | |
87 | } |
84 | } |
Line 88... | Line 85... | ||
88 | 85 | ||
89 | void integrate(void) { |
86 | void integrate(void) { |
90 | // First, perform axis coupling. If disabled xxxRate is just copied to ACxxxRate. |
87 | // First, perform axis coupling. If disabled xxxRate is just copied to ACxxxRate. |