Skip to content

Commit ab99618

Browse files
committed
Merge branch 'reboot-fix'
2 parents 61ddaad + 4b1296c commit ab99618

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/devices/usb/hid.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func (info hidDeviceInfo) Product() string {
9090

9191
// Identifier implements DeviceInfo.
9292
func (info hidDeviceInfo) Identifier() string {
93-
return hex.EncodeToString([]byte(info.DeviceInfo.Path))
93+
return hex.EncodeToString([]byte(info.DeviceInfo.Path + info.DeviceInfo.Product))
9494
}
9595

9696
// singleThreadedDevice runs all hidapi functions in the same OS thread. See the docs of the

0 commit comments

Comments
 (0)