logi-fix.js aktualisiert
This commit is contained in:
parent
7033ad9912
commit
537fdaf2e6
@ -120,7 +120,7 @@ function sendColors(overrideColor) {
|
|||||||
// Send extra keys
|
// Send extra keys
|
||||||
while(RGBDataExtra.length > 0) {
|
while(RGBDataExtra.length > 0) {
|
||||||
applyExtra();
|
applyExtra();
|
||||||
const ledsToSend = Math.min(4, RGBDataExtra.length/12);
|
const ledsToSend = Math.min(4, RGBDataExtra.length/4);
|
||||||
|
|
||||||
packet = [0x11, 0xFF, 0x10, 0x1F].concat(RGBDataExtra.splice(0, ledsToSend*4));
|
packet = [0x11, 0xFF, 0x10, 0x1F].concat(RGBDataExtra.splice(0, ledsToSend*4));
|
||||||
//packet = [0x11, 0xFF, 0x10, 0x1A, ledsToSend];
|
//packet = [0x11, 0xFF, 0x10, 0x1A, ledsToSend];
|
||||||
|
Loading…
Reference in New Issue
Block a user