From d6ae2b7b43cbf68291ef5db9134a1621856637cb Mon Sep 17 00:00:00 2001 From: s-mendyka Date: Wed, 5 Jun 2024 21:55:59 +0200 Subject: [PATCH] logi-fix.js aktualisiert --- logi-fix.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logi-fix.js b/logi-fix.js index 319aeff..7e3d0a6 100644 --- a/logi-fix.js +++ b/logi-fix.js @@ -120,7 +120,7 @@ function sendColors(overrideColor) { while(RGBDataExtra.length > 0) { const ledsToSend = Math.min(4, RGBDataExtra.length/4); - packet = [0x11, 0xFF, 0x10, 0x1A].concat(RGBDataExtra.splice(0, ledsToSend*4)); + packet = [0x11, 0xFF, 0x10, 0x1F].concat(RGBDataExtra.splice(0, ledsToSend*4)); device.write(packet, 20); @@ -132,7 +132,7 @@ function sendColors(overrideColor) { } function applyExtra() { - const packet = [0x11, 0xFF, 0x10, 0x7A]; + const packet = [0x11, 0xFF, 0x10, 0x7E]; device.write(packet, 20); }