Rev 1615 | Rev 1623 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1615 | Rev 1621 | ||
---|---|---|---|
Line 167... | Line 167... | ||
167 | } |
167 | } |
Line 168... | Line 168... | ||
168 | 168 | ||
169 | void setNormalFlightParameters(void) { |
169 | void setNormalFlightParameters(void) { |
170 | setFlightParameters(dynamicParams.IFactor + 1, |
170 | setFlightParameters(dynamicParams.IFactor + 1, |
171 | dynamicParams.GyroP + 10, |
171 | dynamicParams.GyroP + 10, |
172 | staticParams.GlobalConfig & CFG_HEADING_HOLD ? dynamicParams.GyroI : 0, |
172 | staticParams.GlobalConfig & CFG_HEADING_HOLD ? 0 : dynamicParams.GyroI, |
173 | dynamicParams.GyroP + 10, |
173 | dynamicParams.GyroP + 10, |
174 | dynamicParams.UserParams[6] |
174 | dynamicParams.UserParams[6] |
175 | ); |
175 | ); |