[SKY9X / 9XR-PRO] A couple of UI bugfixes

This commit is contained in:
Bertrand Songis
2017-02-12 22:58:24 +01:00
parent 85bdca8d44
commit 8cb46f2425
13 changed files with 81 additions and 35 deletions
+7 -1
View File
@@ -147,7 +147,13 @@ bool isSourceAvailable(int source)
if (source>=MIXSRC_FIRST_POT && source<=MIXSRC_LAST_POT) {
return IS_POT_SLIDER_AVAILABLE(POT1+source-MIXSRC_FIRST_POT);
}
#if defined(PCBSKY9X) && defined(REVX)
if (source == MIXSRC_REa) {
return false;
}
#endif
#if defined(PCBX10)
if ((source>=MIXSRC_S3 && source<=MIXSRC_S4) || (source>=MIXSRC_MOUSE1 && source<=MIXSRC_MOUSE2))
return false;