From a8468caaa21c754084161a0c504e9b526d159c71 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 6 Jul 2017 01:37:21 -0700 Subject: BLE: minor code cleanup Signed-off-by: Dirk Hohndel --- core/qt-ble.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'core') diff --git a/core/qt-ble.cpp b/core/qt-ble.cpp index 61a0c5647..71ac9bcbf 100644 --- a/core/qt-ble.cpp +++ b/core/qt-ble.cpp @@ -85,7 +85,6 @@ void BLEObject::characteristicWritten(const QLowEnergyCharacteristic &c, const Q void BLEObject::writeCompleted(const QLowEnergyDescriptor &d, const QByteArray &value) { - Q_UNUSED(d) Q_UNUSED(value) qDebug() << "BLE write completed on" << d.name() << d.value(); @@ -104,8 +103,7 @@ void BLEObject::addService(const QBluetoothUuid &newService) */ if (newService != QUuid("{0000fefb-0000-1000-8000-00805f9b34fb}")) return; // skip all services except the right one - } else - if (isStandardUuid) { + } else if (isStandardUuid) { qDebug () << " .. ignoring standard service"; return; } -- cgit v1.2.3-70-g09d2