From d6a969ee28b5e7de35a130f1d4655f6bb93ff7a1 Mon Sep 17 00:00:00 2001 From: pascallanger Date: Sun, 16 Aug 2026 11:43:27 +0200 Subject: [PATCH] Update SGF22_nrf24l01.ino --- Multiprotocol/SGF22_nrf24l01.ino | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Multiprotocol/SGF22_nrf24l01.ino b/Multiprotocol/SGF22_nrf24l01.ino index 29c8fba4..10977526 100644 --- a/Multiprotocol/SGF22_nrf24l01.ino +++ b/Multiprotocol/SGF22_nrf24l01.ino @@ -46,7 +46,8 @@ Multiprotocol is distributed in the hope that it will be useful, #define SGF22_FX922_FLAG_BALANCEHIGH 0x01 #define SGF22_FX922_FLAG_BALANCE 0x02 -#define SGF22_T18_RTH_SET 0x20 +#define SGF22_T28_RTH_SET 0x20 +#define SGF22_T28_FLAG_OPTIMIZED 0x80 //packet[9] #define SGF22_FLAG_TRIMRESET 0x04 @@ -92,7 +93,7 @@ static void __attribute__((unused)) SGF22_send_packet() | GET_FLAG(CH9_SW, SGF22_FLAG_VIDEO) // push down throttle trim for video in the stock TX | GET_FLAG(CH11_SW, SGF22_FX922_FLAG_BALANCE) | GET_FLAG(CH12_SW, SGF22_FX922_FLAG_BALANCEHIGH) - | GET_FLAG(CH13_SW, SGF22_T18_RTH_SET); + | GET_FLAG(CH13_SW, SGF22_T28_RTH_SET); if(Channel_data[CH5] > CHANNEL_MAX_COMMAND) packet[8] |= ( sub_protocol == SGF22_T28 ? SGF22_T28_FLAG_OPTIMIZED : SGF22_FLAG_VERTICAL); // CH5 100%, vertical mode (torque) else if(Channel_data[CH5] > CHANNEL_MIN_COMMAND )