mirror of
https://github.com/rainloreley/artnet-usbdmx-converter.git
synced 2025-01-15 12:13:26 +01:00
Compare commits
No commits in common. "0db2b7b6d71998a8daf03f3fd1693c719853444b" and "f36cc53be11e6d4dcf89fb87793384c09f638f14" have entirely different histories.
0db2b7b6d7
...
f36cc53be1
@ -8,7 +8,6 @@
|
||||
"build": "tsc",
|
||||
"watch": "tsc -w",
|
||||
"dev": "npm run build && node ./dist/index.js",
|
||||
"start": "node ./dist/index.js",
|
||||
"make": "npm run build && pkg --compress GZip ."
|
||||
},
|
||||
"pkg": {
|
||||
|
@ -65,10 +65,8 @@ export default class ConvertHandler {
|
||||
this.usbdmxInCounter++;
|
||||
if (this.outputAllowed) {
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
if ((startChannel + i) >= 0 && (startChannel + i) < 512 && data[i] >= 0 && data[i] < 256) {
|
||||
this.artNetSender.prepChannel(startChannel + i, data[i]);
|
||||
}
|
||||
}
|
||||
this.artnetOutCounter++;
|
||||
this.artNetSender.transmit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user