Skip to content

Commit

Permalink
Use array for internal device mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz committed Dec 10, 2024
1 parent f8d5642 commit 30f11cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion device/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const (
H590
)

var deviceInputs = [][]string{InputsRöst, InputsH95, InputsH120, InputsH190, InputsH390, InputsH590}
var deviceInputs = [...][]string{InputsRöst, InputsH95, InputsH120, InputsH190, InputsH390, InputsH590}

var (
errInvalidDevice = errors.New("invalid device type")
Expand Down

0 comments on commit 30f11cb

Please sign in to comment.