From 443c7a6b997609210d4d22abab1060554475dbc0 Mon Sep 17 00:00:00 2001 From: Pascal Langer Date: Sun, 20 Dec 2020 12:05:43 +0100 Subject: [PATCH] WFLY2: WBUS <-> PPM --- Multiprotocol/WFLY2_a7105.ino | 4 ++-- Protocols_Details.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Multiprotocol/WFLY2_a7105.ino b/Multiprotocol/WFLY2_a7105.ino index 2a3f34c..1ad27a3 100644 --- a/Multiprotocol/WFLY2_a7105.ino +++ b/Multiprotocol/WFLY2_a7105.ino @@ -104,9 +104,9 @@ static void __attribute__((unused)) WFLY2_build_packet() packet[0] = 0x05; //PPM/WBUS packet packet[5] = 0x01; if(option) - packet[6] = 0x00; // WBUS - else packet[6] = 0x01; // PPM + else + packet[6] = 0x00; // WBUS prev_option = option; } else diff --git a/Protocols_Details.md b/Protocols_Details.md index 90155fa..68e8237 100644 --- a/Protocols_Details.md +++ b/Protocols_Details.md @@ -340,6 +340,8 @@ CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10 ---|---|---|---|---|---|---|---|---|---- CH1|CH2|CH3|CH4|CH5|CH6|CH7|CH8|CH9|CH10 +Option is used to select between WBUS=0 and PPM=1 + *** # CC2500 RF Module