From 6dc8eb75a2996ee7d4b8d798d3869d7953a24dbc Mon Sep 17 00:00:00 2001 From: "bsongis@gmail.com" Date: Sun, 2 Jun 2013 14:45:53 +0000 Subject: [PATCH] Issue 45 fixed. Thanks for the report and the fix proposed. This code is used on boards where there is only 1 module. So only s_current_protocol[0] is accessible. --- src/opentx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opentx.cpp b/src/opentx.cpp index cc27edf16..7c90956f3 100644 --- a/src/opentx.cpp +++ b/src/opentx.cpp @@ -293,7 +293,7 @@ void per10ms() #endif #if defined(FRSKY) || defined(JETI) - if (!IS_DSM2_SERIAL_PROTOCOL(s_current_protocol)) + if (!IS_DSM2_SERIAL_PROTOCOL(s_current_protocol[0])) telemetryInterrupt10ms(); #endif