Skip to content

Commit

Permalink
JJRC345: Reduce stick sensitivity (#355)
Browse files Browse the repository at this point in the history
A largely symbolic contribution to record participation in protocol development.
See: DeviationTX/deviation#853
  • Loading branch information
konstantint authored May 22, 2020
1 parent cffe667 commit 62486c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Multiprotocol/JJRC345_nrf24l01.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 62486c2

Please sign in to comment.