Skip to content

Commit

Permalink
beaglebone: use new improved default namer to avoid API conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Feb 2, 2017
1 parent 67c7246 commit 3be7c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/beaglebone/beaglebone_adaptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Adaptor struct {
// NewAdaptor returns a new Beaglebone Adaptor
func NewAdaptor() *Adaptor {
b := &Adaptor{
name: "Beaglebone",
name: gobot.DefaultName("Beaglebone"),
digitalPins: make([]sysfs.DigitalPin, 120),
pwmPins: make(map[string]*pwmPin),
}
Expand Down

0 comments on commit 3be7c49

Please sign in to comment.