From 40afd67fc6eeb511bc5e6852acdb3e4bb465e668 Mon Sep 17 00:00:00 2001 From: pascallanger Date: Wed, 16 Oct 2019 20:18:24 +0200 Subject: [PATCH] Disable MULTI_SYNC when using RX or Scanner protocols --- Multiprotocol/Multiprotocol.h | 2 +- Multiprotocol/Telemetry.ino | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Multiprotocol/Multiprotocol.h b/Multiprotocol/Multiprotocol.h index 96d563c..f4f7c33 100644 --- a/Multiprotocol/Multiprotocol.h +++ b/Multiprotocol/Multiprotocol.h @@ -19,7 +19,7 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 3 #define VERSION_REVISION 0 -#define VERSION_PATCH_LEVEL 17 +#define VERSION_PATCH_LEVEL 18 //****************** // Protocols diff --git a/Multiprotocol/Telemetry.ino b/Multiprotocol/Telemetry.ino index dd2cd3a..32b69e1 100644 --- a/Multiprotocol/Telemetry.ino +++ b/Multiprotocol/Telemetry.ino @@ -840,7 +840,7 @@ void TelemetryUpdate() return; } #ifdef MULTI_SYNC - if ( (now - lastInputSync) > INPUT_SYNC_TIME) + if ( (now - lastInputSync) > INPUT_SYNC_TIME && protocol != PROTO_SCANNER && protocol != PROTO_FRSKY_RX && protocol != PROTO_AFHDS2A_RX && protocol != PROTO_XN297DUMP ) { mult_send_inputsync(); lastInputSync = now; @@ -848,7 +848,6 @@ void TelemetryUpdate() } #endif #endif - #if defined SPORT_TELEMETRY if (protocol==PROTO_FRSKYX #ifdef TELEMETRY_FRSKYX_TO_FRSKYD