intel-iot: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
0c06d0bd97
commit
b1a23e7dce
|
@ -72,7 +72,7 @@ func changePinMode(pin, mode string) (err error) {
|
|||
// NewAdaptor returns a new Edison Adaptor
|
||||
func NewAdaptor() *Adaptor {
|
||||
return &Adaptor{
|
||||
name: "Edison",
|
||||
name: gobot.DefaultName("Edison"),
|
||||
board: "arduino",
|
||||
pinmap: arduinoPinMap,
|
||||
}
|
||||
|
|
|
@ -53,7 +53,7 @@ type Adaptor struct {
|
|||
// NewAdaptor returns a new Joule Adaptor
|
||||
func NewAdaptor() *Adaptor {
|
||||
return &Adaptor{
|
||||
name: "Joule",
|
||||
name: gobot.DefaultName("Joule"),
|
||||
connect: func(e *Adaptor) (err error) {
|
||||
return
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue