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