logi-fix.js aktualisiert

This commit is contained in:
s-mendyka 2024-06-05 00:16:16 +02:00
parent 0ca5fc0566
commit 9ee6f1682c

View File

@ -145,7 +145,9 @@ function sendColors(overrideColor) {
while(RGBDataExtra.length > 0) {
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, 0x08, 0x20].concat(RGBDataExtra.splice(0, ledsToSend*4));
device.set_endpoint(1, 0x0602, 0xff43); // System IF
device.write(packet, 20);