Преглед на файлове

follow go-bluetooth refactored code recently

cuu преди 5 години
родител
ревизия
6e97d60611
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      Menu/GameShell/10_Settings/Bluetooth/plugin_init.go

+ 2 - 2
Menu/GameShell/10_Settings/Bluetooth/plugin_init.go

@@ -7,7 +7,7 @@ import (
   
 	"github.com/muka/go-bluetooth/api"
 	"github.com/muka/go-bluetooth/emitter"
-	"github.com/muka/go-bluetooth/linux"
+	"github.com/muka/go-bluetooth/linux/btmgmt"
   "github.com/muka/go-bluetooth/bluez/profile"
 
 /*
@@ -52,7 +52,7 @@ func (self *BluetoothPlugin) Init( main_screen *UI.MainScreen ) {
   
  	log.Println("Reset bluetooth device")
   
-	a := linux.NewBtMgmt(adapterID)
+	a := btmgmt.NewBtMgmt(adapterID)
 	err := a.Reset()
 	if err != nil {
 		log.Fatal(err)