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:
parent
01bb538959
commit
dc183d7a78
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user