This commit is contained in:
Baud 2024-06-01 16:23:49 +01:00
parent 94d8fa5d57
commit 48eef54da3
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {