mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-10 13:38:12 +00:00
DSM RX: remove reverse on aileron and rudder
This commit is contained in:
parent
d1feef97be
commit
b515355249
@ -126,8 +126,6 @@ static void __attribute__((unused)) DSM_Rx_build_telemetry_packet()
|
|||||||
if(nbr_bits==10) value <<= 1; // switch to 11 bits
|
if(nbr_bits==10) value <<= 1; // switch to 11 bits
|
||||||
value &= 0x7FF;
|
value &= 0x7FF;
|
||||||
rx_rc_chan[CH_TAER[idx]]=convert_channel_DSM_nolimit(value);
|
rx_rc_chan[CH_TAER[idx]]=convert_channel_DSM_nolimit(value);
|
||||||
if(IS_DISABLE_CH_MAP_off && (CH_TAER[idx]==AILERON || CH_TAER[idx]==RUDDER))
|
|
||||||
rx_rc_chan[CH_TAER[idx]]=2047-rx_rc_chan[CH_TAER[idx]]; // Reverse AILERON and RUDDER channels
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user