[Taranis] Issue #592 - Sticky switches

This commit is contained in:
Bertrand Songis
2014-02-03 11:22:06 +01:00
parent 7c81920431
commit 9730f8d190
4 changed files with 73 additions and 23 deletions
+9 -1
View File
@@ -150,8 +150,16 @@
#define LEN_VMIXTRIMS "\003"
#define TR_VMIXTRIMS "OFF""ON\0""Rud""Ele""Thr""Ail"
#if defined(CPUARM)
#define TR_CSWTIMER "Timer"
#define TR_CSWSTICKY "Stcky"
#else
#define TR_CSWTIMER "TIM\0"
#define TR_CSWSTICKY
#endif
#define LEN_VCSWFUNC "\005"
#define TR_VCSWFUNC "---\0 ""a{x\0 ""a>x\0 ""a<x\0 ""|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 ""a=b\0 ""a>b\0 ""a<b\0 ""d}x\0 ""|d|}x""TIM\0"
#define TR_VCSWFUNC "---\0 ""a{x\0 ""a>x\0 ""a<x\0 ""|a|>x""|a|<x""AND\0 ""OR\0 ""XOR\0 ""a=b\0 ""a>b\0 ""a<b\0 ""d}x\0 ""|d|}x" TR_CSWTIMER TR_CSWSTICKY
#define LEN_VFSWFUNC "\012"