Rev 2036 | Rev 2045 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2036 | Rev 2039 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | rampedTargetHeight = targetHeight = analog_getHeight(); |
27 | rampedTargetHeight = targetHeight = analog_getHeight(); |
28 | maxHeightThisFlight = 0; |
28 | maxHeightThisFlight = 0; |
29 | iHeight = 0; |
29 | iHeight = 0; |
30 | } |
30 | } |
Line 31... | Line 31... | ||
31 | 31 | ||
32 | void HC_update(void) { |
32 | void HC_periodicTask(void) { |
33 | int32_t height = analog_getHeight(); |
33 | int32_t height = analog_getHeight(); |
Line 34... | Line 34... | ||
34 | static uint8_t setHeightLatch = 0; |
34 | static uint8_t setHeightLatch = 0; |
35 | 35 |