From 0a1cc29e8dad84ca6502eecc782eb121039966ed Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 25 Apr 2020 22:14:08 +0200 Subject: [PATCH] Fix make error --- src/classes/Keyboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/Keyboard.cpp b/src/classes/Keyboard.cpp index db26562..421c0de 100644 --- a/src/classes/Keyboard.cpp +++ b/src/classes/Keyboard.cpp @@ -770,7 +770,7 @@ bool LedKeyboard::setOnBoardMode(OnBoardMode onBoardMode) { byte_buffer_t data; switch (currentDevice.model) { case KeyboardModel::g815: - data = { 0x11, 0xff, 0x11, 0x1a, onBoardMode }; + data = { 0x11, 0xff, 0x11, 0x1a, static_cast(onBoardMode) }; data.resize(20, 0x00); return sendDataInternal(data); default: