[Taranis X9E] Sliders configuration (LS2 and RS2 will be optional)

This commit is contained in:
bsongis
2015-03-10 19:20:16 +01:00
parent fb73547b8f
commit 3063126d75
11 changed files with 115 additions and 123 deletions
-8
View File
@@ -77,14 +77,6 @@ uint64_t switchesPos = 0;
tmr10ms_t potsLastposStart[NUM_XPOTS] = { 0 };
uint8_t potsPos[NUM_XPOTS];
int switchConfig(int idx)
{
uint32_t config = SWITCH_CONFIG(idx);
if (config == SWITCH_DEFAULT)
config = SWITCH_DEFAULT_CONFIG(idx);
return config;
}
#if defined(REV9E)
div_t switchInfo(int switchPosition)
{