From 60cefd4ee8059e2e8001fb4f71ab26aec6f30b35 Mon Sep 17 00:00:00 2001 From: Brett O'Donnell Date: Fri, 20 Dec 2019 20:05:59 +1030 Subject: [PATCH] fix error when compiling - missing enums in switch --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 1771811..3144503 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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;