You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/10/17 23:11:19 UTC

[GitHub] sjanc closed pull request #107: Fix build on windows

sjanc closed pull request #107: Fix build on windows
URL: https://github.com/apache/mynewt-newtmgr/pull/107
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/newtmgr/bll/bll_xports_windows.go b/newtmgr/bll/bll_xports_windows.go
index b1266ea8..e64443f0 100644
--- a/newtmgr/bll/bll_xports_windows.go
+++ b/newtmgr/bll/bll_xports_windows.go
@@ -41,11 +41,13 @@ func NewXportCfg() XportCfg {
 
 type BllXport struct {
 	cfg XportCfg
+	hciIdx int
 }
 
-func NewBllXport(cfg XportCfg) *BllXport {
+func NewBllXport(cfg XportCfg, hciIdx int) *BllXport {
 	return &BllXport{
 		cfg: cfg,
+		hciIdx: hciIdx,
 	}
 }
 
diff --git a/newtmgr/config/bll_config_windows.go b/newtmgr/config/bll_config_windows.go
index 97b7479d..277bcc98 100644
--- a/newtmgr/config/bll_config_windows.go
+++ b/newtmgr/config/bll_config_windows.go
@@ -34,6 +34,7 @@ type BllConfig struct {
 	OwnAddrType bledefs.BleAddrType
 	PeerId      string
 	PeerName    string
+	HciIdx	    int
 }
 
 func NewBllConfig() *BllConfig {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services