From 48e61679616df8450852b86969bdc7ff3f8dc26d Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 11 Mar 2017 23:56:58 +0100 Subject: [PATCH] Validate setNativeEffects --- src/classes/Keyboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index a9da121..8e6eb08 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -535,8 +535,8 @@ bool LedKeyboard::setNativeEffect(NativeEffect effect, NativeEffectPart part, ui uint8_t protocolByte = 0; switch (m_keyboardModel) { - case KeyboardModel::g410: - case KeyboardModel::g610: + case KeyboardModel::g410: // Unconfirmed + case KeyboardModel::g610: // Unconfirmed case KeyboardModel::g810: protocolByte = 0x0d; break;