mirror of
https://github.com/hybridgroup/gobot.git
synced 2025-05-11 19:29:20 +08:00
cleanup
This commit is contained in:
parent
5ddfd4a848
commit
9c24626782
@ -183,7 +183,6 @@ func (r *RaspiAdaptor) digitalPin(pin string, dir string) sysfs.DigitalPin {
|
||||
}
|
||||
|
||||
if r.digitalPins[i] == nil {
|
||||
fmt.Println(i)
|
||||
r.digitalPins[i] = sysfs.NewDigitalPin(i)
|
||||
r.digitalPins[i].Export()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user