mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-22 17:06:10 +00:00
Fix make error
This commit is contained in:
parent
b8f51d777a
commit
0a1cc29e8d
@ -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<uint8_t>(onBoardMode) };
|
||||
data.resize(20, 0x00);
|
||||
return sendDataInternal(data);
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user