diff options
Diffstat (limited to 'apps/ble-inspect-device.h')
-rw-r--r-- | apps/ble-inspect-device.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/ble-inspect-device.h b/apps/ble-inspect-device.h index 0bb70aa..346f9be 100644 --- a/apps/ble-inspect-device.h +++ b/apps/ble-inspect-device.h @@ -56,9 +56,9 @@ public: try { Mac mac = Mac::parseMac(mac_str); - BluetoothAdapter &adapter = getAdapter(0); + shared_ptr<BluetoothAdapter> adapter = getAdapter(0); - BluetoothDevice &device = adapter.getDevice(mac); + BluetoothDevice &device = adapter->getDevice(mac); scan_callback(device); |