[Taranis / sky9x] Bad wrap-around in files selection popups

This commit is contained in:
bsongis@gmail.com
2013-05-07 09:35:19 +00:00
parent 481c18d6ff
commit 86baf80ac2
3 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -1012,7 +1012,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+TELEM_TM2)
if (frskyStreaming <= 0 && cs->v1 >= MIXSRC_FIRST_TELEM+TELEM_TM2)
return swtch > 0 ? false : true;
y = convertCswTelemValue(cs);