Skip to content

Commit

Permalink
Add magic word for vial-gui (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
sago35 authored Feb 28, 2024
1 parent e20f5b5 commit 697a666
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions via.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
)

func init() {
// vial-gui requires the following magic word.
usb.Serial = "vial:f64c2b3c"

descriptor.CDCHID.Configuration[2] = 0x84
descriptor.CDCHID.Configuration[3] = 0x00
descriptor.CDCHID.Configuration[4] = 0x04
Expand Down

0 comments on commit 697a666

Please sign in to comment.