From 5a18acd0929daf8e7f2c7ef1ba8ac5b8f7077d35 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Tue, 13 Mar 2018 18:02:25 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- network/ble_unsupported.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/network/ble_unsupported.go b/network/ble_unsupported.go index 7c29f385..0a22772f 100644 --- a/network/ble_unsupported.go +++ b/network/ble_unsupported.go @@ -38,6 +38,10 @@ func NewBLE(newcb BLEDevNewCallback, lostcb BLEDevLostCallback) *BLE { } } +func (b *BLE) Get(id string) (dev *BLEDevice, found bool) { + return +} + func (b *BLE) MarshalJSON() ([]byte, error) { doc := bleJSON{ Devices: make([]*BLEDevice, 0),