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:
Konstantin Tretyakov 2020-05-23 00:09:46 +02:00 committed by GitHub
parent cffe66747a
commit 62486c2220
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,13 +76,13 @@ static void __attribute__((unused)) JJRC345_send_packet()
if(CH5_SW) //Flip
{
if(packet[6]>0x90)
if(packet[6]>0xF0)
packet[6]=0xFF;
else if(packet[6]<0x80 && packet[6]>0x10)
else if(packet[6]<0x80 && packet[6]>0x70)
packet[6]=0x7F;
else if(packet[7]>0x90)
if(packet[7]>0xF0)
packet[7]=0xFF;
else if(packet[7]<0x80 && packet[7]>0x10)
else if(packet[7]<0x80 && packet[7]>0x70)
packet[7]=0x7F;
}