artnet: fix endianness of universe id
Fixes #38 reported by @Joebayld - thanks!
This commit is contained in:
parent
7bd28ff7f4
commit
667a7ae318
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function EnttecODE(device_id, options) {
|
||||||
self.sleepTime = 24
|
self.sleepTime = 24
|
||||||
|
|
||||||
options = options || {}
|
options = options || {}
|
||||||
self.universe_id.writeInt16BE(options.universe || 0, 0)
|
self.universe_id.writeInt16LE(options.universe || 0, 0)
|
||||||
self.host = device_id || '127.0.0.1'
|
self.host = device_id || '127.0.0.1'
|
||||||
self.port = options.port || 6454
|
self.port = options.port || 6454
|
||||||
self.dev = dgram.createSocket('udp4')
|
self.dev = dgram.createSocket('udp4')
|
||||||
|
|
Loading…
Reference in a new issue