[stock / gruvin9x] Problem with FRSKY + DSM2_SERIAL
This commit is contained in:
@@ -228,7 +228,12 @@ void per10ms()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FRSKY) && !defined(CPUARM) && !(defined(PCBSTD) && (defined(AUDIO) || defined(VOICE)))
|
#if defined(FRSKY) && !defined(CPUARM) && !(defined(PCBSTD) && (defined(AUDIO) || defined(VOICE)))
|
||||||
|
#if defined(DSM2_SERIAL)
|
||||||
|
if (s_current_protocol != PROTO_DSM2)
|
||||||
|
check_frsky();
|
||||||
|
#else
|
||||||
check_frsky();
|
check_frsky();
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// These moved here from perOut() to improve beep trigger reliability.
|
// These moved here from perOut() to improve beep trigger reliability.
|
||||||
|
|||||||
+1
-1
@@ -742,7 +742,7 @@ void setupPulses()
|
|||||||
if (s_current_protocol != required_protocol) {
|
if (s_current_protocol != required_protocol) {
|
||||||
|
|
||||||
#if defined(DSM2_SERIAL) && defined(FRSKY)
|
#if defined(DSM2_SERIAL) && defined(FRSKY)
|
||||||
if (s_current_protocol == PROTO_DSM2) {
|
if (s_current_protocol == 255 || s_current_protocol == PROTO_DSM2) {
|
||||||
FRSKY_Init();
|
FRSKY_Init();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user