Fix (de-)serializing enable param for backlight custom function
Resolves #1446 Resolves #1447
This commit is contained in:
@@ -27,7 +27,8 @@ static bool fnHasEnable(AssignFunc fn)
|
|||||||
return (fn <= FuncInstantTrim)
|
return (fn <= FuncInstantTrim)
|
||||||
|| (fn >= FuncReset && fn <= FuncSetTimerLast)
|
|| (fn >= FuncReset && fn <= FuncSetTimerLast)
|
||||||
|| (fn >= FuncAdjustGV1 && fn <= FuncBindExternalModule)
|
|| (fn >= FuncAdjustGV1 && fn <= FuncBindExternalModule)
|
||||||
|| (fn == FuncVolume);
|
|| (fn == FuncVolume)
|
||||||
|
|| (fn == FuncBacklight);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool fnHasRepeat(AssignFunc fn)
|
static bool fnHasRepeat(AssignFunc fn)
|
||||||
|
|||||||
Reference in New Issue
Block a user