Skip to content

Commit

Permalink
Fix #41 - deck stuck on 'Connecting'
Browse files Browse the repository at this point in the history
A deck with no clips would get stuck on `await this.updateClips()` which was being executed before setting status.
  • Loading branch information
sphlabs committed Apr 5, 2021
1 parent 6ebb843 commit f605766
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1009,9 +1009,9 @@ class instance extends instance_skel {

this.transportInfo = await this.hyperDeck.sendCommand(new Commands.TransportInfoCommand())

await this.updateClips(this.transportInfo.slotId)
this.status(this.STATUS_OK,'Connected')


this.updateClips(this.transportInfo.slotId)
this.initVariables()
this.checkFeedbacks()

Expand Down

0 comments on commit f605766

Please sign in to comment.