mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +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;
|
byte_buffer_t data;
|
||||||
switch (currentDevice.model) {
|
switch (currentDevice.model) {
|
||||||
case KeyboardModel::g815:
|
case KeyboardModel::g815:
|
||||||
data = { 0x11, 0xff, 0x11, 0x1a, onBoardMode };
|
data = { 0x11, 0xff, 0x11, 0x1a, static_cast<uint8_t>(onBoardMode) };
|
||||||
data.resize(20, 0x00);
|
data.resize(20, 0x00);
|
||||||
return sendDataInternal(data);
|
return sendDataInternal(data);
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user