[all] Problem with |d|>=ofs and Timer2 in custom switches (thanks thomas9x for all the infos)

This commit is contained in:
bsongis@gmail.com
2013-04-15 19:45:36 +00:00
parent ae1be246b6
commit 36d300b248
+1 -1
View File
@@ -1017,7 +1017,7 @@ bool __getSwitch(int8_t swtch)
#if defined(FRSKY)
// Telemetry
if (cs->v1 >= MIXSRC_FIRST_TELEM) {
if (frskyStreaming <= 0 && cs->v1 > MIXSRC_FIRST_TELEM-1+MAX_TIMERS)
if (frskyStreaming <= 0 && cs->v1 > MIXSRC_FIRST_TELEM-1+TELEM_TM2)
return swtch > 0 ? false : true;
y = convertCswTelemValue(cs);