From 05d3f456f3f8c91c23ae136155a0fe3f27214cfb Mon Sep 17 00:00:00 2001 From: mini Date: Wed, 28 Jul 2021 09:12:06 -0400 Subject: [PATCH] xdr: fix hid loading --- hid/hid_xdr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hid/hid_xdr.go b/hid/hid_xdr.go index 61f468c..a1a217e 100644 --- a/hid/hid_xdr.go +++ b/hid/hid_xdr.go @@ -12,5 +12,5 @@ import ( var file []byte func init() { - xdr.Unmarshal(bytes.NewReader(file), Mappings) + xdr.Unmarshal(bytes.NewReader(file), &Mappings) }