We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 635a4fa commit 93c414aCopy full SHA for 93c414a
drivers/bbdmx.js
@@ -22,7 +22,7 @@ BBDMX.prototype.sendUniverse = function () {
22
let channel;
23
let messageBuffer = Buffer.from(UNIVERSE_LEN.toString());
24
25
- for (const i = 1; i <= UNIVERSE_LEN; i++) {
+ for (let i = 1; i <= UNIVERSE_LEN; i++) {
26
channel = Buffer.from(' ' + this.universe[i]);
27
messageBuffer = Buffer.concat([messageBuffer, channel]);
28
}
@@ -55,7 +55,7 @@ BBDMX.prototype.update = function (u, extraData) {
55
};
56
57
BBDMX.prototype.updateAll = function (v) {
58
59
this.universe[i] = v;
60
61
0 commit comments