Skip to content

Commit

Permalink
Fix infinit reccursion loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatino authored Feb 6, 2020
1 parent 9e93a4e commit ec8350b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion streamdeck.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (sd *StreamDeck) read() {
func (sd *StreamDeck) Close() error {
sd.Lock()
sd.Unlock()
return sd.Close()
return sd.device.Close()
}

// ClearBtn fills a particular key with the color black
Expand Down

0 comments on commit ec8350b

Please sign in to comment.