You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// ResetComms will reset the comms protocol to the StreamDeck; useful if things have gotten de-synced, but it will also reboot the StreamDeck
198
-
func (d*Device) ResetComms() {
209
+
func (d*Device) ResetComms() error{
199
210
payload:=d.deviceType.resetPacket
200
-
d.fd.SendFeatureReport(payload)
211
+
_, err:=d.fd.SendFeatureReport(payload)
212
+
returnerr
201
213
}
202
214
203
215
// WriteRawImageToButton takes an `image.Image` and writes it to the given button, after resizing and rotating the image to fit the button (for some reason the StreamDeck screens are all upside down)
0 commit comments