[stock / gruvin9x] Problem with FRSKY + DSM2_SERIAL

This commit is contained in:
bsongis
2012-12-10 21:23:36 +00:00
parent 5a2d6cb250
commit 16d4601043
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -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
View File
@@ -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