From 636a2820a02f8c0a011f2ce5c1473642a59aa50c Mon Sep 17 00:00:00 2001 From: druckgott Date: Mon, 18 Nov 2024 18:12:24 +0100 Subject: [PATCH] Update MSPHelper.js --- src/js/msp/MSPHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/msp/MSPHelper.js b/src/js/msp/MSPHelper.js index 45a5a9d363..23d0ab7af7 100644 --- a/src/js/msp/MSPHelper.js +++ b/src/js/msp/MSPHelper.js @@ -1227,7 +1227,7 @@ MspHelper.prototype.process_data = function(dataHandler) { } } - const directionMask = (mask >> 27) & 0x3F; + const directionMask = (mask >> 26) & 0x3F; const directions = []; for (let directionLetterIndex = 0; directionLetterIndex < ledDirectionLetters.length; directionLetterIndex++) { if (bit_check(directionMask, directionLetterIndex)) {