mirror of
https://github.com/MatMoul/g810-led.git
synced 2026-10-25 00:18:14 +00:00
fix error when compiling - missing enums in switch
This commit is contained in:
1 parent
118631d184
commit
60cefd4ee8
1 file changed
+3
@@ -129,6 +129,9 @@ int setFX(LedKeyboard &kbd, LedKeyboard::NativeEffectStorage storage,
|
||||
if (! utils::parseNativeEffectPart(arg3, effectPart)) return 1;
|
||||
|
||||
switch (effect) {
|
||||
case LedKeyboard::NativeEffect::off:
|
||||
case LedKeyboard::NativeEffect::ripple:
|
||||
break;
|
||||
case LedKeyboard::NativeEffect::color:
|
||||
if (! utils::parseColor(arg4, color)) return 1;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user