Switch warning fix for Horus (#3516)
This commit is contained in:
committed by
Bertrand Songis
parent
f3d6dfea94
commit
0fad67a8ea
@@ -357,6 +357,13 @@ bool isSwitchAvailableInMixes(int swtch)
|
||||
return isSwitchAvailable(swtch, MixesContext);
|
||||
}
|
||||
|
||||
#if defined(COLORLCD)
|
||||
bool isSwitchWarningStateAvailable(int state)
|
||||
{
|
||||
return (state != 2); // two pos switch - middle state not available
|
||||
}
|
||||
#endif // #if defined(COLORLCD)
|
||||
|
||||
bool isSwitchAvailableInTimers(int swtch)
|
||||
{
|
||||
if (swtch >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user