forked from Elara6331/infinitime
Use adapter ID in btmgmt as well
This commit is contained in:
parent
5e7a110cdc
commit
2c2d854929
@ -33,7 +33,7 @@ func Init(adapterID string) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
daMgmt := btmgmt.NewBtMgmt(bt.GetDefaultAdapterID())
|
daMgmt := btmgmt.NewBtMgmt(adapterID)
|
||||||
daMgmt.SetPowered(true)
|
daMgmt.SetPowered(true)
|
||||||
|
|
||||||
defaultAdapter = da
|
defaultAdapter = da
|
||||||
|
Loading…
Reference in New Issue
Block a user