test: 0?
This commit is contained in:
parent
94d8fa5d57
commit
48eef54da3
2
index.ts
2
index.ts
|
@ -105,7 +105,7 @@ function handle_message(message: Partial<WebSocketMessage>) {
|
|||
event: "log",
|
||||
message: "DEVICE INFO " + JSON.stringify(info)
|
||||
})
|
||||
let slots = info.slots === null ? 1 : info.slots;
|
||||
let slots = info.slots === null ? 0 : info.slots;
|
||||
for (let index = 0; index < slots; index++) {
|
||||
setInterval(() => {
|
||||
newHyperdeck.sendCommand(new Commands.SlotInfoCommand(index)).then((slot) => {
|
||||
|
|
Loading…
Reference in New Issue