mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:28:15 +00:00
Disable MULTI_SYNC when using RX or Scanner protocols
This commit is contained in:
parent
f3b9206d67
commit
40afd67fc6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user