1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-02 22:17:12 +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 committed by deadprogram
parent 01bb538959
commit dc183d7a78

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)
}
}