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.

This commit is contained in:
bsongis@gmail.com
2013-06-02 14:45:53 +00:00
parent a8f99b1b61
commit 6dc8eb75a2
+1 -1
View File
@@ -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