[Taranis] Disabled Pots skipped in ExpoOne menu

This commit is contained in:
bsongis
2015-03-09 21:41:47 +01:00
parent 8b228e5291
commit e7071e26ea
+3 -4
View File
@@ -149,10 +149,9 @@ bool isSourceAvailableInCustomSwitches(int source)
bool isInputSourceAvailable(int source)
{
#if !defined(REVPLUS)
if (source == MIXSRC_POT3)
return false;
#endif
if (source>=MIXSRC_FIRST_POT && source<=MIXSRC_LAST_POT) {
return IS_POT_AVAILABLE(POT1+source-MIXSRC_FIRST_POT);
}
if (source>=MIXSRC_Rud && source<=MIXSRC_MAX)
return true;