diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-30 14:37:06 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-30 14:37:06 +0200 |
commit | 441cd0b11186d66493798551e1102eb246f1af9f (patch) | |
tree | 3cdb5b1dea6b782cbf59e172807f9dc15e7bd418 /apps/ble-inspect-device.h | |
parent | af63bd5688731b57551ac161c0dad26a0b4557d7 (diff) | |
download | ble-toys-441cd0b11186d66493798551e1102eb246f1af9f.tar.gz ble-toys-441cd0b11186d66493798551e1102eb246f1af9f.tar.bz2 ble-toys-441cd0b11186d66493798551e1102eb246f1af9f.tar.xz ble-toys-441cd0b11186d66493798551e1102eb246f1af9f.zip |
Getting started on a port to OSX.
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); |