chore: Remove unused LS_FUNC_RANGE, TimersContext (#4267)
This commit is contained in:
@@ -522,24 +522,6 @@ bool isSwitch2POSWarningStateAvailable(int state)
|
||||
}
|
||||
#endif // #if defined(COLORLCD)
|
||||
|
||||
//bool isSwitchAvailableInTimers(int swtch)
|
||||
//{
|
||||
// if (swtch >= 0) {
|
||||
// if (swtch < TMRMODE_COUNT)
|
||||
// return true;
|
||||
// else
|
||||
// swtch -= TMRMODE_COUNT-1;
|
||||
// }
|
||||
// else {
|
||||
// if (swtch > -TMRMODE_COUNT)
|
||||
// return false;
|
||||
// else
|
||||
// swtch += TMRMODE_COUNT-1;
|
||||
// }
|
||||
//
|
||||
// return isSwitchAvailable(swtch, TimersContext);
|
||||
//}
|
||||
|
||||
bool isThrottleSourceAvailable(int src)
|
||||
{
|
||||
#if !defined(LIBOPENUI)
|
||||
@@ -551,11 +533,6 @@ bool isThrottleSourceAvailable(int src)
|
||||
((src >= MIXSRC_FIRST_CH) && (src <= MIXSRC_LAST_CH)));
|
||||
}
|
||||
|
||||
bool isLogicalSwitchFunctionAvailable(int function)
|
||||
{
|
||||
return function != LS_FUNC_RANGE;
|
||||
}
|
||||
|
||||
bool isAssignableFunctionAvailable(int function, CustomFunctionData * functions)
|
||||
{
|
||||
#if defined(OVERRIDE_CHANNEL_FUNCTION) || defined(GVARS)
|
||||
|
||||
Reference in New Issue
Block a user