1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 17:25:20 +03:00

Merge branch 'aux_failsafe' into betaflight

Conflicts:
	src/main/config/config.c
This commit is contained in:
borisbstyle 2015-09-25 15:34:57 +02:00
commit b9e16ef243
2 changed files with 3 additions and 6 deletions

View file

@ -378,16 +378,13 @@ static uint16_t getRxfailValue(uint8_t channel)
switch(channelFailsafeConfiguration->mode) {
case RX_FAILSAFE_MODE_AUTO:
switch (channel) {
case ROLL:
case PITCH:
case YAW:
return rxConfig->midrc;
case THROTTLE:
if (feature(FEATURE_3D))
return rxConfig->midrc;
else
return rxConfig->rx_min_usec;
default:
return rxConfig->midrc;
}
/* no break */