Skip to content

Commit 74609f1

Browse files
authored
JJRC345: Reduce stick sensitivity
A largely symbolic contribution to record participation in protocol development. See: DeviationTX/deviation#853
1 parent cffe667 commit 74609f1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Multiprotocol/JJRC345_nrf24l01.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ static void __attribute__((unused)) JJRC345_send_packet()
7676

7777
if(CH5_SW) //Flip
7878
{
79-
if(packet[6]>0x90)
79+
if(packet[6]>0xF0)
8080
packet[6]=0xFF;
81-
else if(packet[6]<0x80 && packet[6]>0x10)
81+
else if(packet[6]<0x80 && packet[6]>0x70)
8282
packet[6]=0x7F;
83-
else if(packet[7]>0x90)
83+
if(packet[7]>0xF0)
8484
packet[7]=0xFF;
85-
else if(packet[7]<0x80 && packet[7]>0x10)
85+
else if(packet[7]<0x80 && packet[7]>0x70)
8686
packet[7]=0x7F;
8787
}
8888

0 commit comments

Comments
 (0)