mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-10 13:58:12 +00:00
Revert throttle on MT99xx...
This commit is contained in:
parent
c54f1ca9b0
commit
c4e66d0c9c
@ -63,9 +63,9 @@ static void __attribute__((unused)) MT99XX_send_packet()
|
|||||||
|
|
||||||
if(sub_protocol != YZ)
|
if(sub_protocol != YZ)
|
||||||
{ // MT99XX & H7 & LS
|
{ // MT99XX & H7 & LS
|
||||||
packet[0] = convert_channel_8b_scale(THROTTLE,0x00,0xE1); // throttle
|
packet[0] = convert_channel_8b_scale(THROTTLE,0xE1,0x00); // throttle
|
||||||
packet[1] = convert_channel_8b_scale(RUDDER ,0x00,0xE1); // rudder
|
packet[1] = convert_channel_8b_scale(RUDDER ,0x00,0xE1); // rudder
|
||||||
packet[2] = convert_channel_8b_scale(AILERON ,0x00,0xE1); // aileron
|
packet[2] = convert_channel_8b_scale(AILERON ,0xE1,0x00); // aileron
|
||||||
packet[3] = convert_channel_8b_scale(ELEVATOR,0x00,0xE1); // elevator
|
packet[3] = convert_channel_8b_scale(ELEVATOR,0x00,0xE1); // elevator
|
||||||
packet[4] = 0x20; // pitch trim (0x3f-0x20-0x00)
|
packet[4] = 0x20; // pitch trim (0x3f-0x20-0x00)
|
||||||
packet[5] = 0x20; // roll trim (0x00-0x20-0x3f)
|
packet[5] = 0x20; // roll trim (0x00-0x20-0x3f)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user