From f6064d03e1b4c856dd8181bc92ecd2985782bc18 Mon Sep 17 00:00:00 2001 From: Pascal Langer Date: Sat, 8 Jun 2019 21:57:02 +0200 Subject: [PATCH] V761 aileron channel --- Multiprotocol/Multi.txt | 2 +- Multiprotocol/Multiprotocol.h | 2 +- Multiprotocol/V761_nrf24l01.ino | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Multiprotocol/Multi.txt b/Multiprotocol/Multi.txt index aff8b6697..914617af8 100644 --- a/Multiprotocol/Multi.txt +++ b/Multiprotocol/Multi.txt @@ -44,7 +44,7 @@ 44,NCC1701 45,E01X,E012,E015,E016H 46,V911S -47,GD00X,V1,V2 +47,GD00X,GD_V1,GD_V2 48,V761 49,KF606 63,XN_DUMP,250K,1M,2M diff --git a/Multiprotocol/Multiprotocol.h b/Multiprotocol/Multiprotocol.h index 90d9b55c4..31e5f30f7 100644 --- a/Multiprotocol/Multiprotocol.h +++ b/Multiprotocol/Multiprotocol.h @@ -19,7 +19,7 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 2 #define VERSION_REVISION 1 -#define VERSION_PATCH_LEVEL 58 +#define VERSION_PATCH_LEVEL 59 //****************** // Protocols diff --git a/Multiprotocol/V761_nrf24l01.ino b/Multiprotocol/V761_nrf24l01.ino index 70e62a597..ddc3f28a7 100644 --- a/Multiprotocol/V761_nrf24l01.ino +++ b/Multiprotocol/V761_nrf24l01.ino @@ -66,10 +66,10 @@ static void __attribute__((unused)) V761_send_packet() } else { - packet[0] = convert_channel_8b(THROTTLE); // throttle - packet[1] = convert_channel_8b(RUDDER)>>1; // rudder - packet[2] = convert_channel_8b(ELEVATOR)>>1; // elevator - packet[3] = 0x3f; // no functional implementation in this model, possibly optional aileron channel for 4ch version? + packet[0] = convert_channel_8b(THROTTLE); // throttle + packet[1] = convert_channel_8b(RUDDER)>>1; // rudder + packet[2] = convert_channel_8b(ELEVATOR)>>1; // elevator + packet[3] = convert_channel_8b(AILERON)>>1; // aileron packet[5] = (packet_count++ / 3)<<6; packet[4] = (packet[5] == 0x40) ? 0x1a : 0x20;