diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-22 23:03:55 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2018-11-22 23:03:55 +0100 |
commit | b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0 (patch) | |
tree | 1f4fd2dd29b4e1cea784cb267eb86b231faec75c /apps | |
parent | d88eee8fcf23e20ae76b3dd346b36af693849ccd (diff) | |
download | ble-toys-b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0.tar.gz ble-toys-b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0.tar.bz2 ble-toys-b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0.tar.xz ble-toys-b6c6fdf032ff76f31ae37e3f0f20895684f9e9f0.zip |
o Removing unused code.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ble-read-characteristic.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/ble-read-characteristic.cpp b/apps/ble-read-characteristic.cpp index a11b0cf..8efcb3b 100644 --- a/apps/ble-read-characteristic.cpp +++ b/apps/ble-read-characteristic.cpp @@ -107,7 +107,6 @@ public: } else { cerr << "Enabling notifications" << endl; cccd->setValue(ByteBuffer::wrapInitialized(BluetoothGattDescriptor::ENABLE_NOTIFICATION_VALUE)); - gatt->setCharacteristicNotification(cccd, true); gatt->write(cccd); cout << "sleeping" << endl; |