You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/03/06 21:17:08 UTC

[34/50] [abbrv] incubator-mynewt-newt git commit: MYNEWT-653 Change Golang imports to runtimeco

MYNEWT-653 Change Golang imports to runtimeco


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/671a1541
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/671a1541
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/671a1541

Branch: refs/heads/master
Commit: 671a1541f0712f417dba98351dde71a65b68713f
Parents: 0a3ce8e
Author: Christopher Collins <cc...@apache.org>
Authored: Thu Mar 2 19:12:22 2017 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Thu Mar 2 19:12:22 2017 -0800

----------------------------------------------------------------------
 newtmgr/transport/connble.go        | 10 +++++-----
 newtmgr/transport/connble_darwin.go |  2 +-
 newtmgr/transport/connble_linux.go  |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/671a1541/newtmgr/transport/connble.go
----------------------------------------------------------------------
diff --git a/newtmgr/transport/connble.go b/newtmgr/transport/connble.go
index e8bcb66..f19b0b8 100644
--- a/newtmgr/transport/connble.go
+++ b/newtmgr/transport/connble.go
@@ -22,7 +22,7 @@ import (
 	log "github.com/Sirupsen/logrus"
 	"time"
 
-	"github.com/runtimeinc/gatt"
+	"github.com/runtimeco/gatt"
 
 	"mynewt.apache.org/newt/newtmgr/config"
 	"mynewt.apache.org/newt/util"
@@ -119,7 +119,7 @@ func onPeriphConnected(p gatt.Peripheral, err error) {
 	for _, service := range services {
 
 		if service.UUID().Equal(newtmgrServiceId) ||
-		   service.UUID().Equal(newtmgrCoapServiceId) {
+			service.UUID().Equal(newtmgrCoapServiceId) {
 			log.Debugf("Newtmgr Service Found %s", service.Name())
 
 			if service.UUID().Equal(newtmgrCoapServiceId) {
@@ -130,9 +130,9 @@ func onPeriphConnected(p gatt.Peripheral, err error) {
 
 			for _, c := range cs {
 				if (isCoap == false &&
-				    c.UUID().Equal(newtmgrServiceCharId)) ||
-				   (isCoap == true &&
-				    c.UUID().Equal(newtmgrCoapServiceCharId)) {
+					c.UUID().Equal(newtmgrServiceCharId)) ||
+					(isCoap == true &&
+						c.UUID().Equal(newtmgrCoapServiceCharId)) {
 					log.Debugf("Newtmgr Characteristic Found")
 					p.SetNotifyValue(c, newtmgrNotifyCB)
 					deviceChar = c

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/671a1541/newtmgr/transport/connble_darwin.go
----------------------------------------------------------------------
diff --git a/newtmgr/transport/connble_darwin.go b/newtmgr/transport/connble_darwin.go
index 8708cb7..ebbdadd 100644
--- a/newtmgr/transport/connble_darwin.go
+++ b/newtmgr/transport/connble_darwin.go
@@ -18,6 +18,6 @@
  */
 package transport
 
-import "github.com/runtimeinc/gatt"
+import "github.com/runtimeco/gatt"
 
 var BleOptions = []gatt.Option{}

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/671a1541/newtmgr/transport/connble_linux.go
----------------------------------------------------------------------
diff --git a/newtmgr/transport/connble_linux.go b/newtmgr/transport/connble_linux.go
index 4074a5b..2c241f0 100644
--- a/newtmgr/transport/connble_linux.go
+++ b/newtmgr/transport/connble_linux.go
@@ -18,7 +18,7 @@
  */
 package transport
 
-import "github.com/runtimeinc/gatt"
+import "github.com/runtimeco/gatt"
 
 var BleOptions = []gatt.Option{
 	gatt.LnxMaxConnections(1),