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:
commit
b9e16ef243
2 changed files with 3 additions and 6 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue