From 6e97d606114bddb7cd14d32b38087e6ca275450e Mon Sep 17 00:00:00 2001 From: cuu Date: Wed, 13 Feb 2019 01:47:08 +0800 Subject: [PATCH] follow go-bluetooth refactored code recently --- Menu/GameShell/10_Settings/Bluetooth/plugin_init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Menu/GameShell/10_Settings/Bluetooth/plugin_init.go b/Menu/GameShell/10_Settings/Bluetooth/plugin_init.go index b13c08f..1de891d 100644 --- a/Menu/GameShell/10_Settings/Bluetooth/plugin_init.go +++ b/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)