1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-13 19:29:10 +08:00

Correct the release command sent to pi-blaster.

This commit is contained in:
Ethan Young 2016-01-09 14:58:18 -07:00
parent fee0946c9e
commit 59703dcc95

View File

@ -165,7 +165,7 @@ func (r *RaspiAdaptor) Finalize() (errs []error) {
}
}
for _, pin := range r.pwmPins {
if err := r.piBlaster(fmt.Sprintf("%v=release\n", pin)); err != nil {
if err := r.piBlaster(fmt.Sprintf("release %v\n", pin)); err != nil {
errs = append(errs, err)
}
}