From efacc05868d85f56f2f9761daed057c2f944b566 Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Mon, 3 Feb 2014 17:07:45 +0100 Subject: [PATCH] Switch warnings for ID0 on 9x now display the position it should have, like on Taranis. Makes more sense than having the current position. --- radio/src/opentx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 58ab5314a..4968a62c7 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -2318,7 +2318,7 @@ void checkSwitches() else attr = (states & (1 << i+1)) == (switches_states & (1 << i+1)) ? 0 : INVERS; if(!(g_model.nSwToWarn & (1<0?(i+3):(switches_states&0x3)+1), attr); + putsSwitches(x, 5*FH, (i>0?(i+3):(states&0x3)+1), attr); x += 3*FW+FW/2; } #endif