1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

Validate setNativeEffects

This commit is contained in:
MatMoul 2017-03-11 23:56:58 +01:00
parent 53c3a01857
commit 48e6167961

View File

@ -535,8 +535,8 @@ bool LedKeyboard::setNativeEffect(NativeEffect effect, NativeEffectPart part, ui
uint8_t protocolByte = 0; uint8_t protocolByte = 0;
switch (m_keyboardModel) { switch (m_keyboardModel) {
case KeyboardModel::g410: case KeyboardModel::g410: // Unconfirmed
case KeyboardModel::g610: case KeyboardModel::g610: // Unconfirmed
case KeyboardModel::g810: case KeyboardModel::g810:
protocolByte = 0x0d; protocolByte = 0x0d;
break; break;