mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 22:28:12 +00:00
JJRC345: Reduce stick sensitivity (#355)
A largely symbolic contribution to record participation in protocol development. See: https://github.com/DeviationTX/deviation/pull/853
This commit is contained in:
parent
cffe66747a
commit
62486c2220
@ -76,13 +76,13 @@ static void __attribute__((unused)) JJRC345_send_packet()
|
|||||||
|
|
||||||
if(CH5_SW) //Flip
|
if(CH5_SW) //Flip
|
||||||
{
|
{
|
||||||
if(packet[6]>0x90)
|
if(packet[6]>0xF0)
|
||||||
packet[6]=0xFF;
|
packet[6]=0xFF;
|
||||||
else if(packet[6]<0x80 && packet[6]>0x10)
|
else if(packet[6]<0x80 && packet[6]>0x70)
|
||||||
packet[6]=0x7F;
|
packet[6]=0x7F;
|
||||||
else if(packet[7]>0x90)
|
if(packet[7]>0xF0)
|
||||||
packet[7]=0xFF;
|
packet[7]=0xFF;
|
||||||
else if(packet[7]<0x80 && packet[7]>0x10)
|
else if(packet[7]<0x80 && packet[7]>0x70)
|
||||||
packet[7]=0x7F;
|
packet[7]=0x7F;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user