Commit 361ce13f authored by Kevin Lyda's avatar Kevin Lyda 💬
Browse files

Fix config deserialisation (full slice).

parent 066a2e70
Pipeline #1241 passed with stage
in 2 minutes and 33 seconds
......@@ -307,7 +307,7 @@ func (gc *GQGMCCounter) GetConfiguration() (*DevConfig, error) {
return nil, err
}
var cfg DevConfig
restruct.Unpack(data[:58], binary.BigEndian, &cfg)
restruct.Unpack(data[:59], binary.BigEndian, &cfg)
fmt.Printf("Configuration: %+v\n", data)
return &cfg, nil
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment