lepton: fix go test on go1.10beta1

pull/1/head
Marc-Antoine Ruel 9 years ago
parent e95c422e15
commit f015c64bb3

@ -142,7 +142,7 @@ func New(p spi.Port, i i2c.Bus, cs gpio.PinOut) (*Dev, error) {
return nil, err
} else if status.CameraStatus != cci.SystemReady {
// The lepton takes < 1 second to boot so it should not happen normally.
return nil, fmt.Errorf("lepton: camera is not ready: %s", status)
return nil, fmt.Errorf("lepton: camera is not ready: %#v", status)
}
if err := d.Init(); err != nil {
return nil, err

Loading…
Cancel
Save