Fix motor_stop instability

This commit is contained in:
borisbstyle 2015-12-07 11:28:58 +01:00
parent 763ff23ede
commit 72e9a4dc17
1 changed files with 1 additions and 2 deletions

View File

@ -126,8 +126,7 @@ typedef struct modeActivationCondition_s {
#define IS_RANGE_USABLE(range) ((range)->startStep < (range)->endStep)
#define SHOULD_RESET_ERRORS ((throttleStatus == THROTTLE_LOW && !(IS_RC_MODE_ACTIVE(BOXAIRMODE))) || !(ARMING_FLAG(ARMED)) || failsafeIsActive()|| feature(FEATURE_MOTOR_STOP))
#define SHOULD_RESET_ERRORS ((throttleStatus == THROTTLE_LOW && !(IS_RC_MODE_ACTIVE(BOXAIRMODE))) || !(ARMING_FLAG(ARMED)) || ((throttleStatus == THROTTLE_LOW && feature(FEATURE_MOTOR_STOP))))
typedef struct controlRateConfig_s {
uint8_t rcRate8;
uint8_t rcExpo8;