diff options
-rw-r--r-- | core/qt-ble.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/qt-ble.cpp b/core/qt-ble.cpp index 7353c753d..8a29bedf3 100644 --- a/core/qt-ble.cpp +++ b/core/qt-ble.cpp @@ -32,9 +32,7 @@ static int debugCounter; #define MAXIMAL_HW_CREDIT 255 #define MINIMAL_HW_CREDIT 32 -extern "C" { - -void waitFor(int ms) { +static void waitFor(int ms) { Q_ASSERT(QCoreApplication::instance()); Q_ASSERT(QThread::currentThread()); @@ -48,6 +46,8 @@ void waitFor(int ms) { } while (timer.elapsed() < ms); } +extern "C" { + void BLEObject::serviceStateChanged(QLowEnergyService::ServiceState s) { Q_UNUSED(s) |