[SKY9X/9XR-PRO] Shift in Switches display
This commit is contained in:
@@ -275,7 +275,7 @@ bool isSwitchAvailable(int swtch, SwitchContext context)
|
||||
|
||||
#if defined(PCBSKY9X)
|
||||
if (swtch >= SWSRC_FIRST_SWITCH && swtch <= SWSRC_LAST_SWITCH) {
|
||||
(void)negative;
|
||||
UNUSED(negative);
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
@@ -310,6 +310,12 @@ bool isSwitchAvailable(int swtch, SwitchContext context)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(PCBSKY9X) && defined(REVX)
|
||||
if (swtch == SWSRC_REa) {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (swtch >= SWSRC_FIRST_LOGICAL_SWITCH && swtch <= SWSRC_LAST_LOGICAL_SWITCH) {
|
||||
if (context == GeneralCustomFunctionsContext) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user